Searched refs:writable_data (Results 1 – 12 of 12) sorted by relevance
/system/keymaster/km_openssl/ |
D | wrapped_key.cpp | 72 uint8_t* p = der_wrapped_key->writable_data(); in build_wrapped_key() 125 uint8_t* p = wrapped_key_description->writable_data(); in parse_wrapped_key()
|
D | symmetric_key.cpp | 54 error = random_source_.GenerateRandom(key_material.writable_data(), key_data_size); in GenerateKey()
|
D | openssl_utils.cpp | 120 uint8_t* tmp = key_blob->writable_data(); in EvpKeyToKeyMaterial()
|
D | soft_keymaster_enforcement.cpp | 115 if (!HMAC_Final(ctx.get(), output->writable_data(), &digest_len)) { in hmacSha256()
|
D | block_cipher_operation.cpp | 443 if (RAND_bytes(iv_.writable_data(), iv_.data_length) != 1) return TranslateLastOpenSslError(); in GenerateIv()
|
/system/keymaster/key_blob_utils/ |
D | ocb_utils.cpp | 142 0 /* additional data length */, ciphertext->writable_data(), in OcbEncryptKey() 178 0 /* additional data length */, plaintext->writable_data(), in OcbDecryptKey()
|
D | auth_encrypted_key_blob.cpp | 42 uint8_t* buf = key_blob->writable_data(); in SerializeAuthEncryptedBlob()
|
D | integrity_assured_key_blob.cpp | 93 uint8_t* p = key_blob->writable_data(); in SerializeIntegrityAssuredBlob()
|
D | software_keyblobs.cpp | 235 memcpy(key_material->writable_data(), key_start, privateLen); in ParseOldSoftkeymasterBlob()
|
/system/keymaster/contexts/ |
D | pure_soft_keymaster_context.cpp | 326 key_material.writable_data()[i] ^= masking_key.key_material[i]; in UnwrapKey()
|
/system/keymaster/include/keymaster/ |
D | android_keymaster_utils.h | 374 uint8_t* writable_data() { return const_cast<uint8_t*>(accessBlobData(this)); } in writable_data() function
|
/system/keymaster/tests/ |
D | key_blob_test.cpp | 132 serialized_blob_.writable_data()[1 /* version */ + 4 /* nonce len */ + 12 /* nonce */ + 3]++; in TEST_F()
|