Home
last modified time | relevance | path

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

/freebsd/crypto/openssl/providers/implementations/macs/
H A Dcmac_prov.c69 static void cmac_free(void *vmacctx) in cmac_free() argument
71 struct cmac_data_st *macctx = vmacctx; in cmac_free()
99 static size_t cmac_size(void *vmacctx) in cmac_size() argument
101 struct cmac_data_st *macctx = vmacctx; in cmac_size()
120 static int cmac_init(void *vmacctx, const unsigned char *key, in cmac_init() argument
123 struct cmac_data_st *macctx = vmacctx; in cmac_init()
133 static int cmac_update(void *vmacctx, const unsigned char *data, in cmac_update() argument
136 struct cmac_data_st *macctx = vmacctx; in cmac_update()
141 static int cmac_final(void *vmacctx, unsigned char *out, size_t *outl, in cmac_final() argument
144 struct cmac_data_st *macctx = vmacctx; in cmac_final()
[all …]
H A Dsiphash_prov.c68 static void siphash_free(void *vmacctx) in siphash_free() argument
70 OPENSSL_free(vmacctx); in siphash_free()
88 static size_t siphash_size(void *vmacctx) in siphash_size() argument
90 struct siphash_data_st *ctx = vmacctx; in siphash_size()
108 static int siphash_init(void *vmacctx, const unsigned char *key, size_t keylen, in siphash_init() argument
111 struct siphash_data_st *ctx = vmacctx; in siphash_init()
126 static int siphash_update(void *vmacctx, const unsigned char *data, in siphash_update() argument
129 struct siphash_data_st *ctx = vmacctx; in siphash_update()
138 static int siphash_final(void *vmacctx, unsigned char *out, size_t *outl, in siphash_final() argument
141 struct siphash_data_st *ctx = vmacctx; in siphash_final()
[all …]
H A Dblake2_mac_impl.c73 static void blake2_mac_free(void *vmacctx) in blake2_mac_free() argument
75 struct blake2_mac_data_st *macctx = vmacctx; in blake2_mac_free()
83 static size_t blake2_mac_size(void *vmacctx) in blake2_mac_size() argument
85 struct blake2_mac_data_st *macctx = vmacctx; in blake2_mac_size()
105 static int blake2_mac_init(void *vmacctx, const unsigned char *key, in blake2_mac_init() argument
108 struct blake2_mac_data_st *macctx = vmacctx; in blake2_mac_init()
123 static int blake2_mac_update(void *vmacctx, in blake2_mac_update() argument
126 struct blake2_mac_data_st *macctx = vmacctx; in blake2_mac_update()
134 static int blake2_mac_final(void *vmacctx, in blake2_mac_final() argument
138 struct blake2_mac_data_st *macctx = vmacctx; in blake2_mac_final()
[all …]
H A Dpoly1305_prov.c56 static void poly1305_free(void *vmacctx) in poly1305_free() argument
58 OPENSSL_free(vmacctx); in poly1305_free()
93 static int poly1305_init(void *vmacctx, const unsigned char *key, in poly1305_init() argument
96 struct poly1305_data_st *ctx = vmacctx; in poly1305_init()
107 static int poly1305_update(void *vmacctx, const unsigned char *data, in poly1305_update() argument
110 struct poly1305_data_st *ctx = vmacctx; in poly1305_update()
121 static int poly1305_final(void *vmacctx, unsigned char *out, size_t *outl, in poly1305_final() argument
124 struct poly1305_data_st *ctx = vmacctx; in poly1305_final()
163 static int poly1305_set_ctx_params(void *vmacctx, const OSSL_PARAM *params) in poly1305_set_ctx_params() argument
165 struct poly1305_data_st *ctx = vmacctx; in poly1305_set_ctx_params()
H A Dgmac_prov.c47 static void gmac_free(void *vmacctx) in gmac_free() argument
49 struct gmac_data_st *macctx = vmacctx; in gmac_free()
114 static int gmac_init(void *vmacctx, const unsigned char *key, in gmac_init() argument
117 struct gmac_data_st *macctx = vmacctx; in gmac_init()
126 static int gmac_update(void *vmacctx, const unsigned char *data, in gmac_update() argument
129 struct gmac_data_st *macctx = vmacctx; in gmac_update()
145 static int gmac_final(void *vmacctx, unsigned char *out, size_t *outl, in gmac_final() argument
149 struct gmac_data_st *macctx = vmacctx; in gmac_final()
203 static int gmac_set_ctx_params(void *vmacctx, const OSSL_PARAM params[]) in gmac_set_ctx_params() argument
205 struct gmac_data_st *macctx = vmacctx; in gmac_set_ctx_params()
H A Dhmac_prov.c90 static void hmac_free(void *vmacctx) in hmac_free() argument
92 struct hmac_data_st *macctx = vmacctx; in hmac_free()
173 static int hmac_init(void *vmacctx, const unsigned char *key, in hmac_init() argument
176 struct hmac_data_st *macctx = vmacctx; in hmac_init()
188 static int hmac_update(void *vmacctx, const unsigned char *data, in hmac_update() argument
191 struct hmac_data_st *macctx = vmacctx; in hmac_update()
222 static int hmac_final(void *vmacctx, unsigned char *out, size_t *outl, in hmac_final() argument
226 struct hmac_data_st *macctx = vmacctx; in hmac_final()
255 static int hmac_get_ctx_params(void *vmacctx, OSSL_PARAM params[]) in hmac_get_ctx_params() argument
257 struct hmac_data_st *macctx = vmacctx; in hmac_get_ctx_params()
[all …]
H A Dkmac_prov.c144 static void kmac_free(void *vmacctx) in kmac_free() argument
146 struct kmac_data_st *kctx = vmacctx; in kmac_free()
267 static int kmac_init(void *vmacctx, const unsigned char *key, in kmac_init() argument
270 struct kmac_data_st *kctx = vmacctx; in kmac_init()
325 static int kmac_update(void *vmacctx, const unsigned char *data, in kmac_update() argument
328 struct kmac_data_st *kctx = vmacctx; in kmac_update()
333 static int kmac_final(void *vmacctx, unsigned char *out, size_t *outl, in kmac_final() argument
336 struct kmac_data_st *kctx = vmacctx; in kmac_final()
366 static int kmac_get_ctx_params(void *vmacctx, OSSL_PARAM params[]) in kmac_get_ctx_params() argument
368 struct kmac_data_st *kctx = vmacctx; in kmac_get_ctx_params()
[all …]