Home
last modified time | relevance | path

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

/system/keymaster/km_openssl/
Dblock_cipher_operation.cpp35 static const size_t GCM_NONCE_SIZE = 12; variable
272 if (block_mode_ == KM_MODE_GCM && iv_blob.data_length != GCM_NONCE_SIZE) { in GetIv()
273 LOG_E("Expected %d-byte nonce for GCM operation, but got %d bytes", GCM_NONCE_SIZE, in GetIv()
444 iv_.Reset((block_mode_ == KM_MODE_GCM) ? GCM_NONCE_SIZE : block_size_bytes()); in GenerateIv()