Lines Matching refs:LibCryptoHandle
30 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()
132 LibCryptoHandle = NULL; in BLECrypt_if_free()