Home
last modified time | relevance | path

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

/external/openthread/src/core/thread/
Dkey_manager.cpp566 NetworkKeyRef keyRef; in StoreNetworkKey() local
568 keyRef = Crypto::Storage::kNetworkKeyRef; in StoreNetworkKey()
575 if (Crypto::Storage::HasKey(keyRef)) in StoreNetworkKey()
581 Crypto::Storage::DestroyKey(keyRef); in StoreNetworkKey()
583 SuccessOrAssert(Crypto::Storage::ImportKey(keyRef, Crypto::Storage::kKeyTypeHmac, in StoreNetworkKey()
589 if (mNetworkKeyRef != keyRef) in StoreNetworkKey()
594 mNetworkKeyRef = keyRef; in StoreNetworkKey()
599 PskcRef keyRef = Crypto::Storage::kPskcRef; in StorePskc() local
601 Crypto::Storage::DestroyKey(keyRef); in StorePskc()
603 SuccessOrAssert(Crypto::Storage::ImportKey(keyRef, Crypto::Storage::kKeyTypeRaw, in StorePskc()
[all …]
/external/openthread/src/core/mac/
Dmac_types.cpp284 KeyRef keyRef = 0; in SetFrom() local
288 SuccessOrAssert(Crypto::Storage::ImportKey(keyRef, Crypto::Storage::kKeyTypeAes, in SetFrom()
294 SetKeyRef(keyRef); in SetFrom()
/external/apache-http/src/org/apache/commons/logging/impl/
DWeakHashtable.java246 Referenced keyRef = new Referenced(key, queue);
247 return super.put(keyRef, value);
/external/curl/lib/vtls/
Dsectransp.c2420 SecKeyRef keyRef; local
2427 keyRef = SecTrustCopyPublicKey(trust);
2429 if(!keyRef)
2434 publicKeyBits = SecKeyCopyExternalRepresentation(keyRef, NULL);
2435 CFRelease(keyRef);
2441 success = SecItemExport(keyRef, kSecFormatOpenSSL, 0, NULL,
2443 CFRelease(keyRef);
/external/conscrypt/common/src/main/java/org/conscrypt/
DNativeCrypto.java189 static native byte[] EC_KEY_get_private_key(NativeRef.EVP_PKEY keyRef); in EC_KEY_get_private_key() argument
191 static native long EC_KEY_get_public_key(NativeRef.EVP_PKEY keyRef); in EC_KEY_get_public_key() argument
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/
DNativeCrypto.java196 static native byte[] EC_KEY_get_private_key(NativeRef.EVP_PKEY keyRef); in EC_KEY_get_private_key() argument
198 static native long EC_KEY_get_public_key(NativeRef.EVP_PKEY keyRef); in EC_KEY_get_public_key() argument
/external/openthread/src/cli/
Dcli.cpp3283 otNetworkKeyRef keyRef; in Process() local
3285 SuccessOrExit(error = aArgs[0].ParseAsUint32(keyRef)); in Process()
3286 SuccessOrExit(error = otThreadSetNetworkKeyRef(GetInstancePtr(), keyRef)); in Process()
/external/conscrypt/common/src/jni/main/cpp/conscrypt/
Dnative_crypto.cc991 BIGNUM* keyRef = nullptr; in NativeCrypto_EVP_PKEY_new_EC_KEY() local
992 if (!arrayToBignum(env, keyJavaBytes, &keyRef)) { in NativeCrypto_EVP_PKEY_new_EC_KEY()
995 key.reset(keyRef); in NativeCrypto_EVP_PKEY_new_EC_KEY()