Home
last modified time | relevance | path

Searched refs:mackey (Results 1 – 14 of 14) sorted by relevance

/freebsd-13.1/sys/opencrypto/
H A Dcryptodev.c93 uint32_t mackey; member
103 uint32_t mackey; member
166 PTRIN_CP(*from, *to, mackey); in session_op_from_32()
190 PTROUT_CP(*from, *to, mackey); in session_op_to_32()
337 void *mackey; member
405 void *mackey = NULL; in cse_create() local
653 error = copyin(sop->mackey, mackey, csp.csp_auth_klen); in cse_create()
660 csp.csp_auth_key = mackey; in cse_create()
706 cse->mackey = mackey; in cse_create()
733 free(mackey, M_XDATA); in cse_create()
[all …]
H A Dcryptodev.h231 const void *mackey; member
248 const void *mackey; member
/freebsd-13.1/tests/sys/opencrypto/
H A Dcryptodev.py176 def __init__(self, cipher=0, key=None, mac=0, mackey=None, argument
192 if mackey is not None:
193 ses.mackeylen = len(mackey)
194 mk = array.array('B', mackey)
195 ses.mackey = mk.buffer_info()[0]
H A Dcryptotest.py265 mackey=key, maclen=Tlen, ivlen=Nlen)
306 mackey=key, maclen=Tlen, ivlen=Nlen)
432 c = Crypto(mac=alg, mackey=key,
H A Dblake2_test.c106 sop.mackey = key; in create_session()
H A Dpoly1305_test.c320 sop.mackey = key; in create_session()
/freebsd-13.1/contrib/netbsd-tests/crypto/opencrypto/
H A Dh_xcbcmac.c87 cs.mackey = key; in main()
H A Dh_sha1hmac.c167 cs.mackey = __UNCONST(&tests[i].key); in main()
H A Dh_md5hmac.c157 cs.mackey = __UNCONST(&tests[i].key); in main()
H A Dh_gcm.c67 cs.mackey = key; in main()
/freebsd-13.1/crypto/openssl/ssl/statem/
H A Dextensions.c1474 EVP_PKEY *mackey = NULL; in tls_psk_do_binder() local
1617 mackey = EVP_PKEY_new_raw_private_key(EVP_PKEY_HMAC, NULL, finishedkey, in tls_psk_do_binder()
1619 if (mackey == NULL) { in tls_psk_do_binder()
1629 if (EVP_DigestSignInit(mctx, NULL, md, NULL, mackey) <= 0 in tls_psk_do_binder()
1651 EVP_PKEY_free(mackey); in tls_psk_do_binder()
/freebsd-13.1/sys/dev/hifn/
H A Dhifn7751.c2385 const void *mackey; in hifn_process() local
2480 mackey = crp->crp_auth_key; in hifn_process()
2482 mackey = csp->csp_auth_key; in hifn_process()
2484 bcopy(mackey, cmd->mac, keylen); in hifn_process()
/freebsd-13.1/tools/tools/crypto/
H A Dcryptotest.c282 sop.mackey = key; in runtest()
H A Dcryptocheck.c609 sop.mackey = key; in ocf_hmac()
857 sop.mackey = auth_key; in ocf_init_eta_session()
1091 sop.mackey = key; in ocf_mac()