Home | History | Annotate | Download | only in evp

Lines Matching defs:gcm

78 	GCM128_CONTEXT gcm;
314 CRYPTO_gcm128_init(&gctx->gcm, &gctx->ks,
324 CRYPTO_gcm128_setiv(&gctx->gcm, iv, gctx->ivlen);
333 CRYPTO_gcm128_setiv(&gctx->gcm, iv, gctx->ivlen);
680 OPENSSL_cleanse(&gctx->gcm, sizeof(gctx->gcm));
772 CRYPTO_gcm128_setiv(&gctx->gcm, gctx->iv, gctx->ivlen);
788 CRYPTO_gcm128_setiv(&gctx->gcm, gctx->iv, gctx->ivlen);
829 CRYPTO_gcm128_init(&gctx->gcm,&gctx->ks,
840 CRYPTO_gcm128_init(&gctx->gcm,&gctx->ks,
847 CRYPTO_gcm128_init(&gctx->gcm, &gctx->ks, (block128_f)AES_encrypt);
862 CRYPTO_gcm128_setiv(&gctx->gcm, iv, gctx->ivlen);
871 CRYPTO_gcm128_setiv(&gctx->gcm, iv, gctx->ivlen);
880 /* Handle TLS GCM packet format. This consists of the last portion of the IV
902 if (CRYPTO_gcm128_aad(&gctx->gcm, ctx->buf, gctx->tls_aad_len))
913 if (CRYPTO_gcm128_encrypt_ctr32(&gctx->gcm,
919 if (CRYPTO_gcm128_encrypt(&gctx->gcm, in, out, len))
924 CRYPTO_gcm128_tag(&gctx->gcm, out, EVP_GCM_TLS_TAG_LEN);
932 if (CRYPTO_gcm128_decrypt_ctr32(&gctx->gcm,
938 if (CRYPTO_gcm128_decrypt(&gctx->gcm, in, out, len))
942 CRYPTO_gcm128_tag(&gctx->gcm, ctx->buf,
976 if (CRYPTO_gcm128_aad(&gctx->gcm, in, len))
983 if (CRYPTO_gcm128_encrypt_ctr32(&gctx->gcm,
989 if (CRYPTO_gcm128_encrypt(&gctx->gcm, in, out, len))
997 if (CRYPTO_gcm128_decrypt_ctr32(&gctx->gcm,
1003 if (CRYPTO_gcm128_decrypt(&gctx->gcm, in, out, len))
1015 if (CRYPTO_gcm128_finish(&gctx->gcm,
1021 CRYPTO_gcm128_tag(&gctx->gcm, ctx->buf, 16);
1034 BLOCK_CIPHER_custom(NID_aes,128,1,12,gcm,GCM,
1036 BLOCK_CIPHER_custom(NID_aes,192,1,12,gcm,GCM,
1038 BLOCK_CIPHER_custom(NID_aes,256,1,12,gcm,GCM,