Home
last modified time | relevance | path

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

/system/security/keystore/
Dblob.cpp418 const ssize_t encryptedLength = ntohl(rawBlob->length); in readBlob() local
421 rc = AES_gcm_decrypt(rawBlob->value /* in */, rawBlob->value /* out */, encryptedLength, in readBlob()
437 const ssize_t encryptedLength = fileLength - headerLength - v2blob.info; in readBlob() local
438 if (encryptedLength < 0) return ResponseCode::VALUE_CORRUPTED; in readBlob()
441 if (encryptedLength % AES_BLOCK_SIZE != 0) { in readBlob()
447 AES_cbc_encrypt(v2blob.encrypted, v2blob.encrypted, encryptedLength, &key, in readBlob()
452 ssize_t digestedLength = encryptedLength - MD5_DIGEST_LENGTH; in readBlob()