Home
last modified time | relevance | path

Searched refs:LibCryptoHandle (Results 1 – 1 of 1) sorted by relevance

/nrf_hw_models-2.7.6/src/HW_models/
DBLECrypt_if.c25 static void *LibCryptoHandle = NULL; variable
65 LibCryptoHandle = dlopen(lib_name, RTLD_NOW); in BLECrypt_if_enable_real_encryption()
66 if (!LibCryptoHandle) { in BLECrypt_if_enable_real_encryption()
76 *(void **) (&blecrypt_packet_encrypt) = dlsym(LibCryptoHandle, "blecrypt_packet_encrypt"); in BLECrypt_if_enable_real_encryption()
80 *(void **) (&blecrypt_packet_decrypt) = dlsym(LibCryptoHandle, "blecrypt_packet_decrypt"); in BLECrypt_if_enable_real_encryption()
84 *(void **) (&blecrypt_aes_128) = dlsym(LibCryptoHandle, "blecrypt_aes_128"); in BLECrypt_if_enable_real_encryption()
95 if ( LibCryptoHandle != NULL ){ in BLECrypt_if_free()
98 dlclose(LibCryptoHandle); in BLECrypt_if_free()