Searched refs:key_buffer (Results 1 – 6 of 6) sorted by relevance
/system/core/libcrypto_utils/include/crypto_utils/ |
D | android_pubkey.h | 47 bool android_pubkey_decode(const uint8_t* key_buffer, size_t size, RSA** key); 55 bool android_pubkey_encode(const RSA* key, uint8_t* key_buffer, size_t size);
|
/system/core/libcrypto_utils/ |
D | android_pubkey.c | 64 bool android_pubkey_decode(const uint8_t* key_buffer, size_t size, RSA** key) { in android_pubkey_decode() argument 65 const RSAPublicKey* key_struct = (RSAPublicKey*)key_buffer; in android_pubkey_decode() 122 bool android_pubkey_encode(const RSA* key, uint8_t* key_buffer, size_t size) { in android_pubkey_encode() argument 123 RSAPublicKey* key_struct = (RSAPublicKey*)key_buffer; in android_pubkey_encode()
|
/system/keymaster/ |
D | hmac_test.cpp | 67 Buffer key_buffer(key.data(), key.size()); in TEST() local 68 ASSERT_TRUE(hmac.Init(key_buffer)); in TEST()
|
/system/vold/ |
D | Keymaster.cpp | 212 uint8_t* key_buffer, in keymaster_create_key_for_cryptfs_scrypt() argument 222 if (!key_buffer || !key_out_size) { in keymaster_create_key_for_cryptfs_scrypt() 254 std::copy(key.data(), key.data() + key.size(), key_buffer); in keymaster_create_key_for_cryptfs_scrypt()
|
D | Keymaster.h | 133 uint8_t* key_buffer,
|
/system/tpm/attestation/common/ |
D | crypto_utility_impl.cc | 324 unsigned char* key_buffer = StringAsOpenSSLBuffer(&mutable_key); in AesEncrypt() local 335 if (!EVP_EncryptInit_ex(&encryption_context, cipher, nullptr, key_buffer, in AesEncrypt() 375 unsigned char* key_buffer = StringAsOpenSSLBuffer(&mutable_key); in AesDecrypt() local 385 if (!EVP_DecryptInit_ex(&decryption_context, cipher, nullptr, key_buffer, in AesDecrypt()
|