Home
last modified time | relevance | path

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

/nrf_hw_models-3.6.0/src/HW_models/
DBLECrypt_if.c30 static void *LibCryptoHandle = NULL; variable
90 LibCryptoHandle = dlopen(lib_name, RTLD_NOW); in BLECrypt_if_enable_real_encryption()
91 if (!LibCryptoHandle) { //Not found in BLECrypt_if_enable_real_encryption()
93 LibCryptoHandle = dlopen(lib_name, RTLD_NOW); in BLECrypt_if_enable_real_encryption()
94 if (!LibCryptoHandle) { in BLECrypt_if_enable_real_encryption()
107 *(void **) (&blecrypt_packet_encrypt) = dlsym(LibCryptoHandle, "blecrypt_packet_encrypt"); in BLECrypt_if_enable_real_encryption()
111 *(void **) (&blecrypt_packet_decrypt) = dlsym(LibCryptoHandle, "blecrypt_packet_decrypt"); in BLECrypt_if_enable_real_encryption()
115 *(void **) (&blecrypt_aes_128) = dlsym(LibCryptoHandle, "blecrypt_aes_128"); in BLECrypt_if_enable_real_encryption()
128 if ( LibCryptoHandle != NULL ){ in BLECrypt_if_free()
131 dlclose(LibCryptoHandle); in BLECrypt_if_free()
[all …]