Home
last modified time | relevance | path

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

/freebsd/crypto/openssl/providers/implementations/include/prov/
H A Dciphercommon_ccm.h45 } PROV_CCM_CTX; typedef
47 PROV_CIPHER_FUNC(int, CCM_cipher, (PROV_CCM_CTX *ctx, unsigned char *out, \
50 PROV_CIPHER_FUNC(int, CCM_setkey, (PROV_CCM_CTX *ctx, \
52 PROV_CIPHER_FUNC(int, CCM_setiv, (PROV_CCM_CTX *dat, \
55 PROV_CIPHER_FUNC(int, CCM_setaad, (PROV_CCM_CTX *ctx, \
57 PROV_CIPHER_FUNC(int, CCM_auth_encrypt, (PROV_CCM_CTX *ctx, \
61 PROV_CIPHER_FUNC(int, CCM_auth_decrypt, (PROV_CCM_CTX *ctx, \
65 PROV_CIPHER_FUNC(int, CCM_gettag, (PROV_CCM_CTX *ctx, \
88 void ossl_ccm_initctx(PROV_CCM_CTX *ctx, size_t keybits, const PROV_CCM_HW *hw);
90 int ossl_ccm_generic_setiv(PROV_CCM_CTX *ctx, const unsigned char *nonce,
[all …]
/freebsd/crypto/openssl/providers/implementations/ciphers/
H A Dciphercommon_ccm.c17 static int ccm_cipher_internal(PROV_CCM_CTX *ctx, unsigned char *out,
21 static int ccm_tls_init(PROV_CCM_CTX *ctx, unsigned char *aad, size_t alen) in ccm_tls_init()
52 static int ccm_tls_iv_set_fixed(PROV_CCM_CTX *ctx, unsigned char *fixed, in ccm_tls_iv_set_fixed()
63 static size_t ccm_get_ivlen(PROV_CCM_CTX *ctx) in ccm_get_ivlen()
70 PROV_CCM_CTX *ctx = (PROV_CCM_CTX *)vctx; in ossl_ccm_set_ctx_params()
149 PROV_CCM_CTX *ctx = (PROV_CCM_CTX *)vctx; in ossl_ccm_get_ctx_params()
229 PROV_CCM_CTX *ctx = (PROV_CCM_CTX *)vctx; in ccm_init()
273 PROV_CCM_CTX *ctx = (PROV_CCM_CTX *)vctx; in ossl_ccm_stream_update()
290 PROV_CCM_CTX *ctx = (PROV_CCM_CTX *)vctx; in ossl_ccm_stream_final()
307 PROV_CCM_CTX *ctx = (PROV_CCM_CTX *)vctx; in ossl_ccm_cipher()
[all …]
H A Dciphercommon_ccm_hw.c13 int ossl_ccm_generic_setiv(PROV_CCM_CTX *ctx, const unsigned char *nonce, in ossl_ccm_generic_setiv()
19 int ossl_ccm_generic_setaad(PROV_CCM_CTX *ctx, const unsigned char *aad, in ossl_ccm_generic_setaad()
26 int ossl_ccm_generic_gettag(PROV_CCM_CTX *ctx, unsigned char *tag, size_t tlen) in ossl_ccm_generic_gettag()
31 int ossl_ccm_generic_auth_encrypt(PROV_CCM_CTX *ctx, const unsigned char *in, in ossl_ccm_generic_auth_encrypt()
48 int ossl_ccm_generic_auth_decrypt(PROV_CCM_CTX *ctx, const unsigned char *in, in ossl_ccm_generic_auth_decrypt()
H A Dcipher_aes_ccm_hw_s390x.inc17 static int s390x_aes_ccm_initkey(PROV_CCM_CTX *ctx,
33 static int s390x_aes_ccm_setiv(PROV_CCM_CTX *ctx,
48 static int s390x_aes_ccm_setaad(PROV_CCM_CTX *ctx,
117 static int s390x_aes_ccm_auth_encdec(PROV_CCM_CTX *ctx,
209 static int s390x_aes_ccm_gettag(PROV_CCM_CTX *ctx,
220 static int s390x_aes_ccm_auth_encrypt(PROV_CCM_CTX *ctx,
233 static int s390x_aes_ccm_auth_decrypt(PROV_CCM_CTX *ctx,
H A Dcipher_aria_ccm.h15 PROV_CCM_CTX base; /* Must be first */
H A Dcipher_aes_ccm.h16 PROV_CCM_CTX base; /* Must be first */
H A Dcipher_aria_ccm_hw.c16 static int ccm_aria_initkey(PROV_CCM_CTX *ctx, in ccm_aria_initkey()
H A Dcipher_aes_ccm_hw.c27 static int ccm_generic_aes_initkey(PROV_CCM_CTX *ctx, const unsigned char *key, in ccm_generic_aes_initkey()
H A Dcipher_aes_ccm_hw_aesni.inc15 static int ccm_aesni_initkey(PROV_CCM_CTX *ctx, const unsigned char *key,
H A Dcipher_aes_ccm_hw_t4.inc15 static int ccm_t4_aes_initkey(PROV_CCM_CTX *ctx, const unsigned char *key,