Home
last modified time | relevance | path

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

/freebsd-14.2/crypto/openssl/providers/implementations/include/prov/
H A Dciphercommon_gcm.h79 } PROV_GCM_CTX; typedef
83 PROV_CIPHER_FUNC(int, GCM_setiv, (PROV_GCM_CTX *dat, const unsigned char *iv,
85 PROV_CIPHER_FUNC(int, GCM_aadupdate, (PROV_GCM_CTX *ctx,
87 PROV_CIPHER_FUNC(int, GCM_cipherupdate, (PROV_GCM_CTX *ctx,
91 PROV_CIPHER_FUNC(int, GCM_oneshot, (PROV_GCM_CTX *ctx, unsigned char *aad,
111 void ossl_gcm_initctx(void *provctx, PROV_GCM_CTX *ctx, size_t keybits,
114 int ossl_gcm_setiv(PROV_GCM_CTX *ctx, const unsigned char *iv, size_t ivlen);
115 int ossl_gcm_aad_update(PROV_GCM_CTX *ctx, const unsigned char *aad,
117 int ossl_gcm_cipher_final(PROV_GCM_CTX *ctx, unsigned char *tag);
118 int ossl_gcm_one_shot(PROV_GCM_CTX *ctx, unsigned char *aad, size_t aad_len,
[all …]
/freebsd-14.2/crypto/openssl/providers/implementations/ciphers/
H A Dciphercommon_gcm.c20 static int gcm_tls_iv_set_fixed(PROV_GCM_CTX *ctx, unsigned char *iv,
24 static int gcm_cipher_internal(PROV_GCM_CTX *ctx, unsigned char *out,
32 void ossl_gcm_initctx(void *provctx, PROV_GCM_CTX *ctx, size_t keybits, in ossl_gcm_initctx()
52 PROV_GCM_CTX *ctx = (PROV_GCM_CTX *)vctx; in gcm_init()
129 static int setivinv(PROV_GCM_CTX *ctx, unsigned char *in, size_t inl) in setivinv()
145 PROV_GCM_CTX *ctx = (PROV_GCM_CTX *)vctx; in ossl_gcm_get_ctx_params()
232 PROV_GCM_CTX *ctx = (PROV_GCM_CTX *)vctx; in ossl_gcm_set_ctx_params()
312 PROV_GCM_CTX *ctx = (PROV_GCM_CTX *)vctx; in ossl_gcm_stream_update()
334 PROV_GCM_CTX *ctx = (PROV_GCM_CTX *)vctx; in ossl_gcm_stream_final()
352 PROV_GCM_CTX *ctx = (PROV_GCM_CTX *)vctx; in ossl_gcm_cipher()
[all …]
H A Dciphercommon_gcm_hw.c14 int ossl_gcm_setiv(PROV_GCM_CTX *ctx, const unsigned char *iv, size_t ivlen) in ossl_gcm_setiv()
20 int ossl_gcm_aad_update(PROV_GCM_CTX *ctx, const unsigned char *aad, in ossl_gcm_aad_update()
26 int ossl_gcm_cipher_update(PROV_GCM_CTX *ctx, const unsigned char *in, in ossl_gcm_cipher_update()
39 int ossl_gcm_cipher_final(PROV_GCM_CTX *ctx, unsigned char *tag) in ossl_gcm_cipher_final()
51 int ossl_gcm_one_shot(PROV_GCM_CTX *ctx, unsigned char *aad, size_t aad_len, in ossl_gcm_one_shot()
H A Dcipher_aes_gcm_hw_s390x.inc24 static int s390x_aes_gcm_initkey(PROV_GCM_CTX *ctx,
35 static int s390x_aes_gcm_setiv(PROV_GCM_CTX *ctx, const unsigned char *iv,
84 static int s390x_aes_gcm_cipher_final(PROV_GCM_CTX *ctx, unsigned char *tag)
112 static int s390x_aes_gcm_one_shot(PROV_GCM_CTX *ctx,
141 static int s390x_aes_gcm_aad_update(PROV_GCM_CTX *ctx,
205 static int s390x_aes_gcm_cipher_update(PROV_GCM_CTX *ctx,
H A Dcipher_aes_gcm_hw.c20 static int aes_gcm_initkey(PROV_GCM_CTX *ctx, const unsigned char *key, in aes_gcm_initkey()
62 static int generic_aes_gcm_cipher_update(PROV_GCM_CTX *ctx, const unsigned char *in, in generic_aes_gcm_cipher_update()
H A Dcipher_aria_gcm.h15 PROV_GCM_CTX base; /* must be first entry in struct */
H A Dcipher_aes_gcm.h16 PROV_GCM_CTX base; /* must be first entry in struct */
H A Dcipher_aria_gcm_hw.c16 static int aria_gcm_initkey(PROV_GCM_CTX *ctx, const unsigned char *key, in aria_gcm_initkey()
H A Dcipher_aes_gcm_hw_aesni.inc15 static int aesni_gcm_initkey(PROV_GCM_CTX *ctx, const unsigned char *key,
H A Dcipher_aes_gcm_hw_t4.inc15 static int t4_aes_gcm_initkey(PROV_GCM_CTX *ctx, const unsigned char *key,
H A Dcipher_aes_gcm_hw_armv8.inc59 static int armv8_aes_gcm_initkey(PROV_GCM_CTX *ctx, const unsigned char *key,