Home
last modified time | relevance | path

Searched refs:ictx (Results 1 – 13 of 13) sorted by relevance

/freebsd/sys/contrib/libsodium/src/libsodium/crypto_auth/hmacsha256/
H A Dauth_hmacsha256.c45 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()
/freebsd/sys/contrib/libsodium/src/libsodium/crypto_auth/hmacsha512/
H A Dauth_hmacsha512.c45 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()
/freebsd/crypto/openssh/
H A Dhmac.c31 struct ssh_digest_ctx *ictx; member
52 if ((ret->ictx = ssh_digest_start(alg)) == NULL || in ssh_hmac_start()
56 ret->buf_len = ssh_digest_blocksize(ret->ictx); in ssh_hmac_start()
80 if (ssh_digest_update(ctx->ictx, ctx->buf, ctx->buf_len) < 0) in ssh_hmac_init()
89 if (ssh_digest_copy_state(ctx->ictx, ctx->digest) < 0) in ssh_hmac_init()
127 ssh_digest_free(ctx->ictx); in ssh_hmac_free()
/freebsd/sys/contrib/openzfs/module/icp/include/sys/crypto/
H A Dsched_impl.h75 #define KCF_CONTEXT_REFRELE(ictx) { \ argument
77 int newval = atomic_add_32_nv(&(ictx)->kc_refcnt, -1); \
80 kcf_free_context(ictx); \
/freebsd/crypto/heimdal/lib/gssapi/ntlm/
H A Daccept_sec_context.c56 maj_stat = (*(*ctx)->server->nsi_init)(minor_status, &(*ctx)->ictx); in _gss_ntlm_allocate_ctx()
121 major_status = (*ctx->server->nsi_probe)(minor_status, ctx->ictx, NULL); in _gss_ntlm_accept_sec_context()
150 ctx->ictx, in _gss_ntlm_accept_sec_context()
194 ctx->ictx, in _gss_ntlm_accept_sec_context()
H A Ddelete_sec_context.c49 (*ctx->server->nsi_destroy)(minor_status, ctx->ictx); in _gss_ntlm_delete_sec_context()
H A Dacquire_cred.c67 maj_stat = (*ctx->server->nsi_probe)(min_stat, ctx->ictx, in _gss_ntlm_acquire_cred()
H A Dntlm.h111 void *ictx; member
/freebsd/crypto/openssl/providers/implementations/ciphers/
H A Dcipher_idea_hw.c22 PROV_IDEA_CTX *ictx = (PROV_IDEA_CTX *)ctx; in cipher_hw_idea_initkey() local
23 IDEA_KEY_SCHEDULE *ks = &(ictx->ks.ks); in cipher_hw_idea_initkey()
/freebsd/sys/crypto/openssl/
H A Dossl.c229 axf->Init(&s->hash.ictx); in ossl_newsession_hash()
234 axf->Init(&s->hash.ictx); in ossl_newsession_hash()
235 axf->Setkey(&s->hash.ictx, csp->csp_auth_key, in ossl_newsession_hash()
239 csp->csp_auth_klen, &s->hash.ictx); in ossl_newsession_hash()
323 ctx = s->hash.ictx; in ossl_process_hash()
H A Dossl.h62 struct ossl_hash_context ictx; member
/freebsd/sys/contrib/libsodium/src/libsodium/include/sodium/
H A Dcrypto_auth_hmacsha256.h39 crypto_hash_sha256_state ictx; member
H A Dcrypto_auth_hmacsha512.h39 crypto_hash_sha512_state ictx; member