Searched refs:ictx (Results 1 – 7 of 7) sorted by relevance
| /f-stack/freebsd/contrib/libsodium/src/libsodium/crypto_auth/hmacsha256/ |
| H A D | auth_hmacsha256.c | 45 crypto_hash_sha256_init(&state->ictx); in crypto_auth_hmacsha256_init() 46 crypto_hash_sha256_update(&state->ictx, key, keylen); in crypto_auth_hmacsha256_init() 47 crypto_hash_sha256_final(&state->ictx, khash); in crypto_auth_hmacsha256_init() 51 crypto_hash_sha256_init(&state->ictx); in crypto_auth_hmacsha256_init() 56 crypto_hash_sha256_update(&state->ictx, pad, 64); in crypto_auth_hmacsha256_init() 75 crypto_hash_sha256_update(&state->ictx, in, inlen); in crypto_auth_hmacsha256_update() 86 crypto_hash_sha256_final(&state->ictx, ihash); in crypto_auth_hmacsha256_final()
|
| /f-stack/freebsd/contrib/libsodium/src/libsodium/crypto_auth/hmacsha512/ |
| H A D | auth_hmacsha512.c | 45 crypto_hash_sha512_init(&state->ictx); in crypto_auth_hmacsha512_init() 46 crypto_hash_sha512_update(&state->ictx, key, keylen); in crypto_auth_hmacsha512_init() 47 crypto_hash_sha512_final(&state->ictx, khash); in crypto_auth_hmacsha512_init() 51 crypto_hash_sha512_init(&state->ictx); in crypto_auth_hmacsha512_init() 56 crypto_hash_sha512_update(&state->ictx, pad, 128); in crypto_auth_hmacsha512_init() 75 crypto_hash_sha512_update(&state->ictx, in, inlen); in crypto_auth_hmacsha512_update() 86 crypto_hash_sha512_final(&state->ictx, ihash); in crypto_auth_hmacsha512_final()
|
| /f-stack/freebsd/contrib/openzfs/module/icp/core/ |
| H A D | kcf_sched.c | 139 arptr->an_context = ictx; in kcf_areqnode_alloc() 153 if (ictx == NULL) in kcf_areqnode_alloc() 156 KCF_CONTEXT_REFHOLD(ictx); in kcf_areqnode_alloc() 295 kcf_context_t *ictx; in process_req_hwp() local 303 ctx = (ictx = areq->an_context) ? &ictx->kc_glbl_ctx : NULL; in process_req_hwp() 314 if (ictx != NULL) { in process_req_hwp() 494 kcf_context_t *ictx; in kcf_resubmit_request() local 883 ASSERT(ictx != NULL); in kcf_removereq_in_ctxchain() 1180 kcf_context_t *ictx; in kcf_aop_done() local 1387 kcf_context_t *ictx; in crypto_cancel_req() local [all …]
|
| /f-stack/freebsd/contrib/openzfs/module/icp/include/sys/crypto/ |
| H A D | sched_impl.h | 309 #define KCF_CONTEXT_REFHOLD(ictx) { \ argument 310 atomic_add_32(&(ictx)->kc_refcnt, 1); \ 311 ASSERT((ictx)->kc_refcnt != 0); \ 319 #define KCF_CONTEXT_REFRELE(ictx) { \ argument 320 ASSERT((ictx)->kc_refcnt != 0); \ 322 if (atomic_add_32_nv(&(ictx)->kc_refcnt, -1) == 0) \ 323 kcf_free_context(ictx); \
|
| /f-stack/freebsd/crypto/openssl/ |
| H A D | ossl.c | 59 struct ossl_hash_context ictx; member 166 hmac_init_ipad(s->hash.axf, key, klen, &s->hash.ictx); in ossl_setkey_hmac() 187 axf->Init(&s->hash.ictx); in ossl_newsession() 224 ctx = s->hash.ictx; in ossl_process()
|
| /f-stack/freebsd/contrib/libsodium/src/libsodium/include/sodium/ |
| H A D | crypto_auth_hmacsha512.h | 39 crypto_hash_sha512_state ictx; member
|
| H A D | crypto_auth_hmacsha256.h | 39 crypto_hash_sha256_state ictx; member
|