Home
last modified time | relevance | path

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

/openssl/providers/implementations/macs/
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()
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()
141 struct siphash_data_st *ctx = vmacctx; in siphash_final()
166 struct siphash_data_st *ctx = vmacctx; in siphash_get_ctx_params()
170 && !OSSL_PARAM_set_size_t(p, siphash_size(vmacctx))) in siphash_get_ctx_params()
[all …]
H A Dcmac_prov.c75 static void cmac_free(void *vmacctx) in cmac_free() argument
77 struct cmac_data_st *macctx = vmacctx; in cmac_free()
106 static size_t cmac_size(void *vmacctx) in cmac_size() argument
108 struct cmac_data_st *macctx = vmacctx; in cmac_size()
170 static int cmac_init(void *vmacctx, const unsigned char *key, in cmac_init() argument
173 struct cmac_data_st *macctx = vmacctx; in cmac_init()
186 struct cmac_data_st *macctx = vmacctx; in cmac_update()
194 struct cmac_data_st *macctx = vmacctx; in cmac_final()
219 && !OSSL_PARAM_set_size_t(p, cmac_size(vmacctx))) in cmac_get_ctx_params()
223 && !OSSL_PARAM_set_size_t(p, cmac_size(vmacctx))) in cmac_get_ctx_params()
[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.c94 static void hmac_free(void *vmacctx) in hmac_free() argument
96 struct hmac_data_st *macctx = vmacctx; in hmac_free()
198 static int hmac_init(void *vmacctx, const unsigned char *key, in hmac_init() argument
201 struct hmac_data_st *macctx = vmacctx; in hmac_init()
213 static int hmac_update(void *vmacctx, const unsigned char *data, in hmac_update() argument
216 struct hmac_data_st *macctx = vmacctx; in hmac_update()
247 static int hmac_final(void *vmacctx, unsigned char *out, size_t *outl, in hmac_final() argument
251 struct hmac_data_st *macctx = vmacctx; in hmac_final()
281 static int hmac_get_ctx_params(void *vmacctx, OSSL_PARAM params[]) in hmac_get_ctx_params() argument
283 struct hmac_data_st *macctx = vmacctx; in hmac_get_ctx_params()
[all …]
H A Dkmac_prov.c154 static void kmac_free(void *vmacctx) in kmac_free() argument
156 struct kmac_data_st *kctx = vmacctx; in kmac_free()
306 static int kmac_init(void *vmacctx, const unsigned char *key, in kmac_init() argument
309 struct kmac_data_st *kctx = vmacctx; in kmac_init()
362 static int kmac_update(void *vmacctx, const unsigned char *data, in kmac_update() argument
365 struct kmac_data_st *kctx = vmacctx; in kmac_update()
370 static int kmac_final(void *vmacctx, unsigned char *out, size_t *outl, in kmac_final() argument
373 struct kmac_data_st *kctx = vmacctx; in kmac_final()
404 static int kmac_get_ctx_params(void *vmacctx, OSSL_PARAM params[]) in kmac_get_ctx_params() argument
406 struct kmac_data_st *kctx = vmacctx; in kmac_get_ctx_params()
[all …]

Completed in 22 milliseconds