Searched refs:mackey (Results 1 – 13 of 13) sorted by relevance
| /freebsd-12.1/tests/sys/opencrypto/ |
| H A D | cryptodev.py | 159 def __init__(self, cipher=0, key=None, mac=0, mackey=None, argument 174 if mackey is not None: 175 ses.mackeylen = len(mackey) 176 mk = array.array('B', mackey) 177 ses.mackey = mk.buffer_info()[0] 592 mac=CRYPTO_AES_128_NIST_GMAC, mackey=key) 628 c = Crypto(CRYPTO_AES_GCM_16, key, mac=CRYPTO_AES_128_GMAC, mackey=key)
|
| H A D | cryptotest.py | 125 mackey=cipherkey, crid=crid, 252 mackey=key, maclen=16) 296 mackey=key, maclen=16) 452 c = Crypto(mac=alg, mackey=key,
|
| H A D | blake2_test.c | 102 sop.mackey = key; in create_session()
|
| H A D | poly1305_test.c | 327 sop.mackey = key; in create_session()
|
| /freebsd-12.1/sys/opencrypto/ |
| H A D | cryptodev.c | 81 u_int32_t mackey; member 91 u_int32_t mackey; member 158 PTRIN_CP(*from, *to, mackey); in session_op_from_32() 180 PTROUT_CP(*from, *to, mackey); in session_op_to_32() 281 caddr_t mackey; member 617 if ((error = copyin(sop->mackey, cria.cri_key, in cryptof_ioctl() 884 crda->crd_key = cse->mackey; in cryptodev_op() 1063 crda->crd_key = cse->mackey; in cryptodev_aead() 1419 cse->mackey = mackey; in csecreate() 1443 if (cse->mackey) in csefree() [all …]
|
| H A D | cryptodev.h | 238 c_caddr_t mackey; member 255 c_caddr_t mackey; member
|
| /freebsd-12.1/contrib/netbsd-tests/crypto/opencrypto/ |
| H A D | h_xcbcmac.c | 87 cs.mackey = key; in main()
|
| H A D | h_md5hmac.c | 157 cs.mackey = __UNCONST(&tests[i].key); in main()
|
| H A D | h_sha1hmac.c | 167 cs.mackey = __UNCONST(&tests[i].key); in main()
|
| H A D | h_gcm.c | 67 cs.mackey = key; in main()
|
| /freebsd-12.1/crypto/openssl/ssl/statem/ |
| H A D | extensions.c | 1446 EVP_PKEY *mackey = NULL; in tls_psk_do_binder() local 1589 mackey = EVP_PKEY_new_raw_private_key(EVP_PKEY_HMAC, NULL, finishedkey, in tls_psk_do_binder() 1591 if (mackey == NULL) { in tls_psk_do_binder() 1601 if (EVP_DigestSignInit(mctx, NULL, md, NULL, mackey) <= 0 in tls_psk_do_binder() 1623 EVP_PKEY_free(mackey); in tls_psk_do_binder()
|
| /freebsd-12.1/tools/tools/crypto/ |
| H A D | cryptocheck.c | 510 sop.mackey = (char *)key; in ocf_hmac() 766 sop.mackey = (char *)auth_key; in ocf_authenc() 1006 sop.mackey = (char *)key; in ocf_gcm() 1245 sop.mackey = (char *)key; in ocf_ccm()
|
| H A D | cryptotest.c | 294 sop.mackey = key; in runtest()
|