OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:kAesKeySize
(Results
1 - 6
of
6
) sorted by null
/system/tpm/trunks/
hmac_authorization_delegate_test.cc
39
nonce.size =
kAesKeySize
;
70
nonce.size =
kAesKeySize
;
99
session_nonce_.size =
kAesKeySize
;
100
memset(session_nonce_.buffer, 0,
kAesKeySize
);
189
auth_response.nonce.size =
kAesKeySize
;
190
memset(auth_response.nonce.buffer, 0,
kAesKeySize
);
hmac_authorization_delegate.cc
299
CHECK_EQ(compound_key.size(),
kAesKeySize
+ kAesIVSize);
300
unsigned char aes_key[
kAesKeySize
];
302
memcpy(aes_key, &compound_key[0],
kAesKeySize
);
303
memcpy(aes_iv, &compound_key[
kAesKeySize
], kAesIVSize);
306
AES_set_encrypt_key(aes_key,
kAesKeySize
*8, &key);
hmac_authorization_delegate.h
33
const size_t
kAesKeySize
= 16; // 128 bits is minimum AES key size.
tpm_utility_impl.cc
809
encryption_key.size =
kAesKeySize
;
816
symmetric_alg.key_bits.aes =
kAesKeySize
* 8;
[
all
...]
tpm_utility_test.cc
[
all
...]
/system/tpm/attestation/common/
crypto_utility_impl.cc
39
const size_t
kAesKeySize
= 32;
84
if (!GetRandom(
kAesKeySize
, aes_key)) {
219
{0, 0, 0, kAlgAES256, 0, kEncModeCBC, 0,
kAesKeySize
};
224
if (!GetRandom(
kAesKeySize
, &aes_key)) {
315
if (key.size() !=
kAesKeySize
|| iv.size() != kAesBlockSize) {
365
if (key.size() !=
kAesKeySize
|| iv.size() != kAesBlockSize) {
425
CHECK_EQ(key.size(),
kAesKeySize
);
Completed in 149 milliseconds