Searched refs:csp_auth_klen (Results 1 – 13 of 13) sorted by relevance
| /f-stack/freebsd/crypto/openssl/ |
| H A D | ossl.c | 186 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 D | nlmseclib.c | 201 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 D | crypto.c | 552 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 D | cryptosoft.c | 333 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 D | cryptodev.c | 628 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 D | cryptodev.h | 380 int csp_auth_klen; /* Key length in bytes. */ member
|
| H A D | ktls_ocf.c | 641 mac_csp.csp_auth_klen = tls->params.auth_key_len; in ktls_ocf_try()
|
| /f-stack/freebsd/mips/cavium/cryptocteon/ |
| H A D | cryptocteon.c | 112 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 D | blake2_cryptodev.c | 280 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 D | padlock_hash.c | 388 csp->csp_auth_klen); in padlock_hash_setup() 404 csp->csp_auth_klen); in padlock_hash_process()
|
| /f-stack/freebsd/crypto/ccp/ |
| H A D | ccp.c | 501 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 D | aesni.c | 608 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 D | xform_ah.c | 220 csp->csp_auth_klen = _KEYBITS(sav->key_auth) / 8; in ah_init0()
|