/freebsd/sys/opencrypto/ |
H A D | xform_sha2.c | 67 .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 D | xform_cbc_mac.c | 11 .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 D | xform_gmac.c | 71 .ctxsize = sizeof(struct aes_gmac_ctx), 85 .ctxsize = sizeof(struct aes_gmac_ctx), 99 .ctxsize = sizeof(struct aes_gmac_ctx),
|
H A D | xform_rmd160.c | 63 .ctxsize = sizeof(RMD160_CTX), 76 .ctxsize = sizeof(RMD160_CTX),
|
H A D | xform_sha1.c | 63 .ctxsize = sizeof(SHA1_CTX), 76 .ctxsize = sizeof(SHA1_CTX),
|
H A D | cryptosoft.c | 132 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 D | xform_aes_icm.c | 83 .ctxsize = sizeof(struct aes_icm_ctx), 102 .ctxsize = sizeof(struct aes_gcm_ctx), 124 .ctxsize = sizeof(struct aes_ccm_ctx),
|
H A D | xform_chacha20_poly1305.c | 156 .ctxsize = sizeof(struct chacha20_poly1305_ctx), 213 .ctxsize = sizeof(struct xchacha20_poly1305_ctx),
|
H A D | xform_auth.h | 55 uint16_t ctxsize; member
|
H A D | xform_enc.h | 51 size_t ctxsize; member
|
H A D | xform_poly1305.c | 65 .ctxsize = sizeof(struct poly1305_xform_ctx),
|
H A D | xform_null.c | 85 .ctxsize = sizeof(int), /* NB: context isn't used */
|
H A D | xform_aes_xts.c | 65 .ctxsize = sizeof(struct aes_xts_ctx),
|
H A D | xform_aes_cbc.c | 70 .ctxsize = sizeof(struct aes_cbc_ctx),
|
/freebsd/sys/crypto/ |
H A D | chacha20_poly1305.c | 48 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 D | glxsb_hash.c | 71 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 D | padlock_hash.c | 84 .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 D | ossl_sha256.c | 100 .ctxsize = sizeof(SHA256_CTX), 111 .ctxsize = sizeof(SHA256_CTX),
|
H A D | ossl_sha1.c | 67 .ctxsize = sizeof(SHA_CTX),
|
H A D | ossl_sha512.c | 237 .ctxsize = sizeof(SHA512_CTX), 248 .ctxsize = sizeof(SHA512_CTX),
|
H A D | ossl_poly1305.c | 172 .ctxsize = sizeof(struct poly1305_context),
|
/freebsd/sys/dev/liquidio/base/ |
H A D | lio_iq.h | 254 uint32_t ctxsize; member 287 uint32_t ctxsize);
|
H A D | lio_request_manager.c | 766 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 D | blake2-sw.c | 83 .ctxsize = sizeof(struct blake2b_xform_ctx), 146 .ctxsize = sizeof(struct blake2s_xform_ctx),
|
/freebsd/sys/crypto/chacha20/ |
H A D | chacha-sw.c | 52 .ctxsize = sizeof(struct chacha_ctx),
|