Searched refs:GCM_NONCE_SIZE (Results 1 – 1 of 1) sorted by relevance
36 static const size_t GCM_NONCE_SIZE = 12; variable358 if (block_mode_ == KM_MODE_GCM && iv_blob.data_length != GCM_NONCE_SIZE) { in GetIv()359 LOG_E("Expected %d-byte nonce for AES-GCM operation, but got %d bytes", GCM_NONCE_SIZE, in GetIv()533 iv_length_ = (block_mode_ == KM_MODE_GCM) ? GCM_NONCE_SIZE : AES_BLOCK_SIZE; in GenerateIv()