Home
last modified time | relevance | path

Searched refs:aad (Results 1 – 3 of 3) sorted by relevance

/system/keymaster/km_openssl/
Dblock_cipher_operation.cpp292 keymaster_blob_t aad; in HandleAad() local
293 if (input_params.GetTagValue(TAG_ASSOCIATED_DATA, &aad)) { in HandleAad()
300 FillBufferedAadBlock(&aad); in HandleAad()
306 size_t blocks_to_process = aad.data_length / block_size; in HandleAad()
307 if (blocks_to_process && !ProcessAadBlocks(aad.data, blocks_to_process, error)) in HandleAad()
309 aad.data += blocks_to_process * block_size; in HandleAad()
310 aad.data_length -= blocks_to_process * block_size; in HandleAad()
312 FillBufferedAadBlock(&aad); in HandleAad()
313 assert(aad.data_length == 0); in HandleAad()
351 void BlockCipherEvpOperation::FillBufferedAadBlock(keymaster_blob_t* aad) { in FillBufferedAadBlock() argument
[all …]
Dblock_cipher_operation.h95 void FillBufferedAadBlock(keymaster_blob_t* aad);
/system/keymaster/tests/
Dandroid_keymaster_test.cpp2922 string aad = "foobar"; in TEST_P() local
2930 update_params.push_back(TAG_ASSOCIATED_DATA, aad.data(), aad.size()); in TEST_P()
2965 string aad = "foobar"; in TEST_P() local
2973 update_params.push_back(TAG_ASSOCIATED_DATA, aad.data(), aad.size()); in TEST_P()
2988 string aad = "foobar"; in TEST_P() local
2996 update_params.push_back(TAG_ASSOCIATED_DATA, aad.data(), aad.size()); in TEST_P()
3087 string aad = "123456789012345678"; in TEST_P() local
3095 update_params.push_back(TAG_ASSOCIATED_DATA, aad.data(), aad.size()); in TEST_P()
3339 string aad = "foobar"; in TEST_P() local
3348 update_params.push_back(TAG_ASSOCIATED_DATA, aad.data(), aad.size()); in TEST_P()