Home
last modified time | relevance | path

Searched refs:xorkey (Results 1 – 3 of 3) sorted by relevance

/freebsd/crypto/krb5/src/lib/crypto/builtin/
H A Dhmac.c58 unsigned char *xorkey = NULL, *ihash = NULL; in krb5int_hmac_keyblock() local
70 xorkey = k5alloc(hash->blocksize, &ret); in krb5int_hmac_keyblock()
71 if (xorkey == NULL) in krb5int_hmac_keyblock()
81 memset(xorkey, 0x36, hash->blocksize); in krb5int_hmac_keyblock()
83 xorkey[i] ^= keyblock->contents[i]; in krb5int_hmac_keyblock()
87 ihash_iov[0].data = make_data(xorkey, hash->blocksize); in krb5int_hmac_keyblock()
95 memset(xorkey, 0x5c, hash->blocksize); in krb5int_hmac_keyblock()
97 xorkey[i] ^= keyblock->contents[i]; in krb5int_hmac_keyblock()
101 ohash_iov[0].data = make_data(xorkey, hash->blocksize); in krb5int_hmac_keyblock()
110 zapfree(xorkey, hash->blocksize); in krb5int_hmac_keyblock()
/freebsd/crypto/openssl/test/
H A Dtls-provider.c2722 XORKEY *xorkey = pxor_sigctx->sig; in xor_sig_sign() local
2728 if (xorkey == NULL || !xorkey->hasprivkey) { in xor_sig_sign()
2747 xorkey->privkey, XOR_KEY_SIZE, tbs, tbslen, in xor_sig_sign()
2765 XORKEY *xorkey = pxor_sigctx->sig; in xor_sig_verify() local
2770 if (xorkey == NULL || sig == NULL || tbs == NULL) { in xor_sig_verify()
2781 xorkey->privkey[i] = xorkey->pubkey[i] ^ private_constant[i]; in xor_sig_verify()
2785 xorkey->privkey, XOR_KEY_SIZE, tbs, tbslen, in xor_sig_verify()
/freebsd/sys/dev/usb/wlan/
H A Dif_uathreg.h310 uint32_t xorkey; member