Searched refs:GCM_NONCE_SIZE (Results 1 – 1 of 1) sorted by relevance
35 static const size_t GCM_NONCE_SIZE = 12; variable272 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()