Searched refs:gcm_ctx (Results 1 – 1 of 1) sorted by relevance
/external/boringssl/src/crypto/fipsmodule/cipher/ |
D | e_aes.c | 842 static int aead_aes_gcm_init_impl(struct aead_aes_gcm_ctx *gcm_ctx, in aead_aes_gcm_init_impl() argument 861 gcm_ctx->ctr = in aead_aes_gcm_init_impl() 862 aes_ctr_set_key(&gcm_ctx->ks.ks, &gcm_ctx->gcm_key, NULL, key, key_len); in aead_aes_gcm_init_impl() 878 struct aead_aes_gcm_ctx *gcm_ctx = (struct aead_aes_gcm_ctx *) &ctx->state; in aead_aes_gcm_init() local 881 if (!aead_aes_gcm_init_impl(gcm_ctx, &actual_tag_len, key, key_len, in aead_aes_gcm_init() 900 struct aead_aes_gcm_ctx *gcm_ctx = (struct aead_aes_gcm_ctx *) &ctx->state; in aead_aes_gcm_seal_scatter() local 915 const AES_KEY *key = &gcm_ctx->ks.ks; in aead_aes_gcm_seal_scatter() 919 OPENSSL_memcpy(&gcm.gcm_key, &gcm_ctx->gcm_key, sizeof(gcm.gcm_key)); in aead_aes_gcm_seal_scatter() 926 if (gcm_ctx->ctr) { in aead_aes_gcm_seal_scatter() 928 gcm_ctx->ctr)) { in aead_aes_gcm_seal_scatter() [all …]
|