Home
last modified time | relevance | path

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

/openssl/providers/implementations/macs/
H A Dcmac_prov.c71 static void cmac_free(void *vmacctx) in cmac_free() argument
73 struct cmac_data_st *macctx = vmacctx; in cmac_free()
101 static size_t cmac_size(void *vmacctx) in cmac_size() argument
103 struct cmac_data_st *macctx = vmacctx; in cmac_size()
122 static int cmac_init(void *vmacctx, const unsigned char *key, in cmac_init() argument
125 struct cmac_data_st *macctx = vmacctx; in cmac_init()
138 struct cmac_data_st *macctx = vmacctx; in cmac_update()
146 struct cmac_data_st *macctx = vmacctx; in cmac_final()
170 && !OSSL_PARAM_set_size_t(p, cmac_size(vmacctx))) in cmac_get_ctx_params()
174 && !OSSL_PARAM_set_size_t(p, cmac_size(vmacctx))) in cmac_get_ctx_params()
[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()
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 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 Dhmac_prov.c81 static void hmac_free(void *vmacctx) in hmac_free() argument
83 struct hmac_data_st *macctx = vmacctx; in hmac_free()
164 static int hmac_init(void *vmacctx, const unsigned char *key, in hmac_init() argument
167 struct hmac_data_st *macctx = vmacctx; in hmac_init()
179 static int hmac_update(void *vmacctx, const unsigned char *data, in hmac_update() argument
182 struct hmac_data_st *macctx = vmacctx; in hmac_update()
213 static int hmac_final(void *vmacctx, unsigned char *out, size_t *outl, in hmac_final() argument
217 struct hmac_data_st *macctx = vmacctx; in hmac_final()
246 static int hmac_get_ctx_params(void *vmacctx, OSSL_PARAM params[]) in hmac_get_ctx_params() argument
248 struct hmac_data_st *macctx = vmacctx; in hmac_get_ctx_params()
[all …]
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 Dkmac_prov.c144 static void kmac_free(void *vmacctx) in kmac_free() argument
146 struct kmac_data_st *kctx = vmacctx; in kmac_free()
273 static int kmac_init(void *vmacctx, const unsigned char *key, in kmac_init() argument
276 struct kmac_data_st *kctx = vmacctx; in kmac_init()
329 static int kmac_update(void *vmacctx, const unsigned char *data, in kmac_update() argument
332 struct kmac_data_st *kctx = vmacctx; in kmac_update()
337 static int kmac_final(void *vmacctx, unsigned char *out, size_t *outl, in kmac_final() argument
340 struct kmac_data_st *kctx = vmacctx; in kmac_final()
370 static int kmac_get_ctx_params(void *vmacctx, OSSL_PARAM params[]) in kmac_get_ctx_params() argument
372 struct kmac_data_st *kctx = vmacctx; in kmac_get_ctx_params()
[all …]

Completed in 30 milliseconds