Jetson nano using Bluez v 5.54 to provisioning an unprovisioned device for BLE Mesh, But failed at provisioning confirm

Hi all,
I’m using the Jetson nano with Jetpack 4.4.1, and installed the Bluez v 5.54. I have configured the kernel for enable the function as follows:

[ * ] Networking support —>

-*- Cryptographic API —>
{ * } CCM support
- * - CMAC support
< * > User-space interface for hash algorithms
< * > User-space interface for symmetric key cipher algorithms
< * > User-space interface for AEAD cipher algorithms

But when I run the Bluez meshctl would failed, the issue as follow:

Request hexadecimal key (hex 16 octets)
[[mesh-agent]# ] Enter key (hex number): 6E6F726469635F6578616D706C655F31
GATT-TX: 03 05 01 1d 76 81 64 b2 90 3c bc c8 65 9d e6 72
GATT-TX: 94 32
GATT-RX: 03 05 ed 95 17 e6 48 51 cf 5c 6a 1c 90 2b 95 ae
GATT-RX: e5 94
Got provisioning data (17 bytes)
05 ed 95 17 e6 48 51 cf 5c 6a 1c 90 2b 95 ae e5
94
GATT-TX: 03 06 ec cd 5c da 77 bb 86 80 46 97 58 93 b1 93
GATT-TX: 9d 1e
GATT-RX: 03 09 04
Got provisioning data (2 bytes)
09 04
Provisioning failed
Attempting to disconnect from EF:9B:8E:75:2D:E4
Characteristic property changed /org/bluez/hci0/dev_EF_9B_8E_75_2D_E4/service000e/char0011
Write closed
Services resolved no
Characteristic property changed /org/bluez/hci0/dev_EF_9B_8E_75_2D_E4/service000e/char000f

When I debug find it the confirm datas by AES_CMAC crypto don’t change.

Sorry for the late response, may I know if this is still an issue to support?

Thanks

Sure, the question need further support.

Sorry that we are not familiar with this tool.
Could you clarify what NV can help your here? Check if your method to upgrade kernel is correct?

Sure,The part of crypto in this tool use the feature about AES_CMAC from Linux kernel, but it don’t work,I have try this tool in the RasberryPi, also enable the feature like follow:

-*- Cryptographic API —>
{ *} CCM support
- * - CMAC support
< * > User-space interface for hash algorithms
< * > User-space interface for symmetric key cipher algorithms
< * > User-space interface for AEAD cipher algorithms

In the RasberryPi, it works. then I doubt the AES_CMAC feature in the Linux Kernel fromJetpack 4.4.1 NV provided don’t work .

What is your method to upgrade kernel then?

I mean you use UI to open some features in kernel, you should build out the Image then. How do you update it to device?

Re-build the kernel then install the mudules and exchange the Image to /boot/Image, after reboot the date about kernel info have updated, Is it wrong to update kernel?

Sounds correct to me.

Does this driver ever get called after you enable it? I mean maybe you can enable or add some print functions in these modules and then compare the result between Pi and nano to see what is going on.

I had compared the result between Pi and Nano, I jsut could access the feature about AES_CMAC in kernel by socket, but Pi could return the crypto data, Nano not.

Does Pi use kernel4.9 too?

version 4.19.x, but kernel version 4.9 or later is ok to the tool