Home
last modified time | relevance | path

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

/system/tpm/attestation/common/
Dcrypto_utility_impl.cc40 const size_t kAesBlockSize = 16; variable
100 if (!GetRandom(kAesBlockSize, &iv)) { in EncryptData()
315 if (key.size() != kAesKeySize || iv.size() != kAesBlockSize) { in AesEncrypt()
329 encrypted_data->resize(data.size() + kAesBlockSize); in AesEncrypt()
365 if (key.size() != kAesKeySize || iv.size() != kAesBlockSize) { in AesDecrypt()
427 if (!GetRandom(kAesBlockSize, &iv)) { in TssCompatibleEncrypt()