Home
last modified time | relevance | path

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

/f-stack/freebsd/crypto/openssl/
H A Dossl.c186 if (csp->csp_auth_klen == 0) { in ossl_newsession()
192 csp->csp_auth_klen); in ossl_newsession()
222 ossl_setkey_hmac(s, crp->crp_auth_key, csp->csp_auth_klen); in ossl_process()
241 if (csp->csp_auth_klen != 0) { in ossl_process()
/f-stack/freebsd/mips/nlm/dev/sec/
H A Dnlmseclib.c201 nlm_crypto_fill_pkt_ctrl(cmd->ctrlp, csp->csp_auth_klen ? 1 : 0, in nlm_crypto_do_digest()
203 NULL, 0, key, csp->csp_auth_klen); in nlm_crypto_do_digest()
232 nlm_crypto_fill_pkt_ctrl(cmd->ctrlp, csp->csp_auth_klen ? 1 : 0, in nlm_crypto_do_cipher_digest()
235 authkey, csp->csp_auth_klen); in nlm_crypto_do_cipher_digest()
/f-stack/freebsd/opencrypto/
H A Dcrypto.c552 switch (csp->csp_auth_klen) { in crypto_auth_hash()
569 switch (csp->csp_auth_klen) { in crypto_auth_hash()
755 csp->csp_auth_klen < 0 || csp->csp_auth_mlen < 0) in check_csp()
757 if (csp->csp_auth_key != NULL && csp->csp_auth_klen == 0) in check_csp()
771 csp->csp_auth_alg != 0 || csp->csp_auth_klen != 0 || in check_csp()
810 if (csp->csp_auth_klen == 0) in check_csp()
813 if (csp->csp_auth_klen != 0) in check_csp()
830 if (csp->csp_auth_alg != 0 || csp->csp_auth_klen != 0) in check_csp()
864 if (csp->csp_auth_klen == 0) in check_csp()
867 if (csp->csp_auth_klen != 0) in check_csp()
[all …]
H A Dcryptosoft.c333 csp->csp_auth_klen); in swcr_authcompute()
1038 csp->csp_auth_klen); in swcr_setup_auth()
1056 csp->csp_auth_klen); in swcr_setup_auth()
1067 if (csp->csp_auth_klen == 0 || csp->csp_auth_key != NULL) in swcr_setup_auth()
1069 csp->csp_auth_klen); in swcr_setup_auth()
1077 csp->csp_auth_klen); in swcr_setup_auth()
1192 switch (csp->csp_auth_klen * 8) { in swcr_auth_supported()
1206 if (csp->csp_auth_klen != POLY1305_KEY_LEN) in swcr_auth_supported()
1210 switch (csp->csp_auth_klen * 8) { in swcr_auth_supported()
H A Dcryptodev.c628 csp.csp_auth_klen = sop->mackeylen; in cse_create()
636 if (csp.csp_auth_klen != 0) { in cse_create()
637 mackey = malloc(csp.csp_auth_klen, M_XDATA, M_WAITOK); in cse_create()
638 error = copyin(sop->mackey, mackey, csp.csp_auth_klen); in cse_create()
H A Dcryptodev.h380 int csp_auth_klen; /* Key length in bytes. */ member
H A Dktls_ocf.c641 mac_csp.csp_auth_klen = tls->params.auth_key_len; in ktls_ocf_try()
/f-stack/freebsd/mips/cavium/cryptocteon/
H A Dcryptocteon.c112 if (csp->csp_auth_klen > hash_len) in cryptocteon_auth_supported()
170 memcpy(hash_key, key, csp->csp_auth_klen); in cryptocteon_calc_hash()
/f-stack/freebsd/crypto/blake2/
H A Dblake2_cryptodev.c280 if (!blake2_check_klen(csp, csp->csp_auth_klen)) in blake2_cipher_setup()
361 klen = csp->csp_auth_klen; in blake2_cipher_process()
/f-stack/freebsd/crypto/via/
H A Dpadlock_hash.c388 csp->csp_auth_klen); in padlock_hash_setup()
404 csp->csp_auth_klen); in padlock_hash_process()
/f-stack/freebsd/crypto/ccp/
H A Dccp.c501 ccp_init_hmac_digest(s, csp->csp_auth_key, csp->csp_auth_klen); in ccp_newsession()
560 ccp_init_hmac_digest(s, crp->crp_auth_key, csp->csp_auth_klen); in ccp_process()
/f-stack/freebsd/crypto/aesni/
H A Daesni.c608 error = aesni_authprepare(ses, csp->csp_auth_klen); in aesni_cipher_setup()
845 keylen = csp->csp_auth_klen; in aesni_cipher_mac()
/f-stack/freebsd/netipsec/
H A Dxform_ah.c220 csp->csp_auth_klen = _KEYBITS(sav->key_auth) / 8; in ah_init0()