| /freebsd-14.2/sys/opencrypto/ |
| H A D | xform_sha2.c | 68 .ctxsize = sizeof(SHA224_CTX), 80 .ctxsize = sizeof(SHA256_CTX), 92 .ctxsize = sizeof(SHA384_CTX), 104 .ctxsize = sizeof(SHA512_CTX), 117 .ctxsize = sizeof(SHA224_CTX), 129 .ctxsize = sizeof(SHA256_CTX), 141 .ctxsize = sizeof(SHA384_CTX), 153 .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 | 64 .ctxsize = sizeof(RMD160_CTX), 77 .ctxsize = sizeof(RMD160_CTX),
|
| H A D | xform_sha1.c | 64 .ctxsize = sizeof(SHA1_CTX), 77 .ctxsize = sizeof(SHA1_CTX),
|
| H A D | cryptosoft.c | 133 ctx = __builtin_alloca(exf->ctxsize); in swcr_encdec() 140 memcpy(ctx, sw->sw_ctx, exf->ctxsize); in swcr_encdec() 233 explicit_bzero(ctx, exf->ctxsize); in swcr_encdec() 431 ctx = __builtin_alloca(exf->ctxsize); in swcr_gcm() 436 memcpy(ctx, swe->sw_ctx, exf->ctxsize); in swcr_gcm() 615 explicit_bzero(ctx, exf->ctxsize); in swcr_gcm() 769 ctx = __builtin_alloca(exf->ctxsize); in swcr_ccm() 952 explicit_bzero(ctx, exf->ctxsize); in swcr_ccm() 989 ctx = __builtin_alloca(exf->ctxsize); in swcr_chacha20_poly1305() 1156 explicit_bzero(ctx, exf->ctxsize); in swcr_chacha20_poly1305() [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 | 66 .ctxsize = sizeof(struct aes_xts_ctx),
|
| H A D | xform_cml.c | 71 .ctxsize = sizeof(struct camellia_cbc_ctx),
|
| /freebsd-14.2/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-14.2/sys/dev/glxsb/ |
| H A D | glxsb_hash.c | 72 bcopy(ses->ses_ictx, &ctx, axf->ctxsize); in glxsb_authcompute() 84 bcopy(ses->ses_octx, &ctx, axf->ctxsize); in glxsb_authcompute() 117 ses->ses_ictx = malloc(ses->ses_axf->ctxsize, M_GLXSB, in glxsb_hash_setup() 119 ses->ses_octx = malloc(ses->ses_axf->ctxsize, M_GLXSB, in glxsb_hash_setup()
|
| /freebsd-14.2/sys/crypto/via/ |
| H A D | padlock_hash.c | 85 .ctxsize = sizeof(struct padlock_sha_ctx), 97 .ctxsize = sizeof(struct padlock_sha_ctx), 238 bcopy(sctx, dctx, axf->ctxsize); in padlock_copy_ctx() 373 ses->ses_ictx = malloc(ses->ses_axf->ctxsize, M_PADLOCK, in padlock_hash_setup() 375 ses->ses_octx = malloc(ses->ses_axf->ctxsize, M_PADLOCK, in padlock_hash_setup()
|
| /freebsd-14.2/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-14.2/sys/crypto/blake2/ |
| H A D | blake2-sw.c | 83 .ctxsize = sizeof(struct blake2b_xform_ctx), 146 .ctxsize = sizeof(struct blake2s_xform_ctx),
|
| /freebsd-14.2/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-14.2/sys/crypto/chacha20/ |
| H A D | chacha-sw.c | 52 .ctxsize = sizeof(struct chacha_ctx),
|