Home
last modified time | relevance | path

Searched refs:ctxsize (Results 1 – 25 of 28) sorted by relevance

12

/freebsd/sys/opencrypto/
H A Dxform_sha2.c67 .ctxsize = sizeof(SHA224_CTX),
79 .ctxsize = sizeof(SHA256_CTX),
91 .ctxsize = sizeof(SHA384_CTX),
103 .ctxsize = sizeof(SHA512_CTX),
116 .ctxsize = sizeof(SHA224_CTX),
128 .ctxsize = sizeof(SHA256_CTX),
140 .ctxsize = sizeof(SHA384_CTX),
152 .ctxsize = sizeof(SHA512_CTX),
H A Dxform_cbc_mac.c11 .ctxsize = sizeof(struct aes_cbc_mac_ctx),
24 .ctxsize = sizeof(struct aes_cbc_mac_ctx),
37 .ctxsize = sizeof(struct aes_cbc_mac_ctx),
H A Dxform_gmac.c71 .ctxsize = sizeof(struct aes_gmac_ctx),
85 .ctxsize = sizeof(struct aes_gmac_ctx),
99 .ctxsize = sizeof(struct aes_gmac_ctx),
H A Dxform_rmd160.c63 .ctxsize = sizeof(RMD160_CTX),
76 .ctxsize = sizeof(RMD160_CTX),
H A Dxform_sha1.c63 .ctxsize = sizeof(SHA1_CTX),
76 .ctxsize = sizeof(SHA1_CTX),
H A Dcryptosoft.c132 ctx = __builtin_alloca(exf->ctxsize); in swcr_encdec()
139 memcpy(ctx, sw->sw_ctx, exf->ctxsize); in swcr_encdec()
232 explicit_bzero(ctx, exf->ctxsize); in swcr_encdec()
268 memcpy(&s.ctx, sw->sw_ictx, axf->ctxsize); in swcr_authcompute()
298 memcpy(&s.ctx, sw->sw_octx, axf->ctxsize); in swcr_authcompute()
348 memcpy(&s.ctx, swa->sw_ictx, axf->ctxsize); in swcr_gmac()
430 ctx = __builtin_alloca(exf->ctxsize); in swcr_gcm()
435 memcpy(ctx, swe->sw_ctx, exf->ctxsize); in swcr_gcm()
614 explicit_bzero(ctx, exf->ctxsize); in swcr_gcm()
694 memcpy(&s.ctx, swa->sw_ictx, axf->ctxsize); in swcr_ccm_cbc_mac()
[all …]
H A Dxform_aes_icm.c83 .ctxsize = sizeof(struct aes_icm_ctx),
102 .ctxsize = sizeof(struct aes_gcm_ctx),
124 .ctxsize = sizeof(struct aes_ccm_ctx),
H A Dxform_chacha20_poly1305.c156 .ctxsize = sizeof(struct chacha20_poly1305_ctx),
213 .ctxsize = sizeof(struct xchacha20_poly1305_ctx),
H A Dxform_auth.h55 uint16_t ctxsize; member
H A Dxform_enc.h51 size_t ctxsize; member
H A Dxform_poly1305.c65 .ctxsize = sizeof(struct poly1305_xform_ctx),
H A Dxform_null.c85 .ctxsize = sizeof(int), /* NB: context isn't used */
H A Dxform_aes_xts.c65 .ctxsize = sizeof(struct aes_xts_ctx),
H A Dxform_aes_cbc.c70 .ctxsize = sizeof(struct aes_cbc_ctx),
/freebsd/sys/crypto/
H A Dchacha20_poly1305.c48 ctx = __builtin_alloca(exf->ctxsize); in chacha20_poly1305_encrypt()
80 explicit_bzero(ctx, exf->ctxsize); in chacha20_poly1305_encrypt()
103 ctx = __builtin_alloca(exf->ctxsize); in chacha20_poly1305_decrypt()
135 explicit_bzero(ctx, exf->ctxsize); in chacha20_poly1305_decrypt()
151 ctx = __builtin_alloca(exf->ctxsize); in xchacha20_poly1305_encrypt()
183 explicit_bzero(ctx, exf->ctxsize); in xchacha20_poly1305_encrypt()
206 ctx = __builtin_alloca(exf->ctxsize); in xchacha20_poly1305_decrypt()
238 explicit_bzero(ctx, exf->ctxsize); in xchacha20_poly1305_decrypt()
/freebsd/sys/dev/glxsb/
H A Dglxsb_hash.c71 bcopy(ses->ses_ictx, &ctx, axf->ctxsize); in glxsb_authcompute()
83 bcopy(ses->ses_octx, &ctx, axf->ctxsize); in glxsb_authcompute()
116 ses->ses_ictx = malloc(ses->ses_axf->ctxsize, M_GLXSB, in glxsb_hash_setup()
118 ses->ses_octx = malloc(ses->ses_axf->ctxsize, M_GLXSB, in glxsb_hash_setup()
/freebsd/sys/crypto/via/
H A Dpadlock_hash.c84 .ctxsize = sizeof(struct padlock_sha_ctx),
96 .ctxsize = sizeof(struct padlock_sha_ctx),
237 bcopy(sctx, dctx, axf->ctxsize); in padlock_copy_ctx()
372 ses->ses_ictx = malloc(ses->ses_axf->ctxsize, M_PADLOCK, in padlock_hash_setup()
374 ses->ses_octx = malloc(ses->ses_axf->ctxsize, M_PADLOCK, in padlock_hash_setup()
/freebsd/sys/crypto/openssl/
H A Dossl_sha256.c100 .ctxsize = sizeof(SHA256_CTX),
111 .ctxsize = sizeof(SHA256_CTX),
H A Dossl_sha1.c67 .ctxsize = sizeof(SHA_CTX),
H A Dossl_sha512.c237 .ctxsize = sizeof(SHA512_CTX),
248 .ctxsize = sizeof(SHA512_CTX),
H A Dossl_poly1305.c172 .ctxsize = sizeof(struct poly1305_context),
/freebsd/sys/dev/liquidio/base/
H A Dlio_iq.h254 uint32_t ctxsize; member
287 uint32_t ctxsize);
H A Dlio_request_manager.c766 uint32_t rdatasize, uint32_t ctxsize) in lio_alloc_soft_command() argument
774 KASSERT((offset + datasize + rdatasize + ctxsize) <= in lio_alloc_soft_command()
803 if (ctxsize) { in lio_alloc_soft_command()
805 sc->ctxsize = ctxsize; in lio_alloc_soft_command()
809 offset = (offset + ctxsize + 127) & 0xffffff80; in lio_alloc_soft_command()
/freebsd/sys/crypto/blake2/
H A Dblake2-sw.c83 .ctxsize = sizeof(struct blake2b_xform_ctx),
146 .ctxsize = sizeof(struct blake2s_xform_ctx),
/freebsd/sys/crypto/chacha20/
H A Dchacha-sw.c52 .ctxsize = sizeof(struct chacha_ctx),

12