Searched refs:initialization_vector (Results 1 – 2 of 2) sorted by relevance
/system/security/keystore/ |
D | blob.h | 56 uint8_t initialization_vector[AES_BLOCK_SIZE]; // Only 96 bits is used, rest is zeroed. member 76 offsetof(blobv3, initialization_vector) == offsetof(blobv2, vector) &&
|
D | blob.cpp | 322 memset(rawBlob->initialization_vector, 0, AES_BLOCK_SIZE); in writeBlob() 323 if (!RAND_bytes(rawBlob->initialization_vector, kGcmIvSizeBytes)) { in writeBlob() 329 aes_key, rawBlob->initialization_vector, rawBlob->aead_tag); in writeBlob() 430 aes_key, rawBlob->initialization_vector, rawBlob->aead_tag); in readBlob()
|