Home
last modified time | relevance | path

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

/openssl/providers/implementations/ciphers/
H A Dcipher_aes_gcm_siv_hw.c152 uint8_t S_s[TAG_SIZE]; in aes_gcm_siv_encrypt() local
175 memset(S_s, 0, TAG_SIZE); in aes_gcm_siv_encrypt()
193 S_s[i] ^= ctx->nonce[i]; in aes_gcm_siv_encrypt()
195 S_s[TAG_SIZE - 1] &= 0x7f; in aes_gcm_siv_encrypt()
197 error |= !EVP_EncryptUpdate(ctx->ecb_ctx, ctx->tag, &out_len, S_s, sizeof(S_s)); in aes_gcm_siv_encrypt()
214 uint8_t S_s[TAG_SIZE]; in aes_gcm_siv_decrypt() local
241 memset(S_s, 0, TAG_SIZE); in aes_gcm_siv_decrypt()
248 ossl_polyval_ghash_hash(ctx->Htable, S_s, out, DOWN16(len)); in aes_gcm_siv_decrypt()
258 S_s[i] ^= ctx->nonce[i]; in aes_gcm_siv_decrypt()
260 S_s[TAG_SIZE - 1] &= 0x7f; in aes_gcm_siv_decrypt()
[all …]

Completed in 6 milliseconds