/freebsd-current/sys/dev/qat/qat_api/common/crypto/sym/ |
H A D | lac_sym_hash_sw_precomputes.c | 187 Cpa8U *opad = pHmacOpadQatData->data + i; local 190 *opad ^= LAC_HASH_OPAD_BYTE;
|
/freebsd-current/sys/dev/cxgbe/crypto/ |
H A D | t4_crypto.h | 236 __u8 opad[64]; member in struct:tls_keyctx::keys
|
/freebsd-current/sys/crypto/ccp/ |
H A D | ccp.h | 69 char opad[CCP_HASH_MAX_BLOCK_SIZE]; member in struct:ccp_session_hmac
|
H A D | ccp.c | 253 memcpy(s->hmac.opad, s->hmac.ipad, axf->blocksize); 257 s->hmac.opad[i] ^= HMAC_OPAD_VAL;
|
H A D | ccp_hardware.c | 1220 axf->Update(&auth_ctx, s->hmac.opad, axf->blocksize);
|
/freebsd-current/sys/netinet/ |
H A D | sctp_auth.c | 918 uint8_t ipad[128], opad[128]; /* keyed hash inner/outer pads */ local 945 memset(opad, 0, blocklen); 947 memcpy(opad, key, keylen); 949 /* XOR the key with ipad and opad values */ 952 opad[i] ^= 0x5c; 963 sctp_hmac_update(hmac_algo, &ctx, opad, blocklen); 978 uint8_t ipad[128], opad[128]; /* keyed hash inner/outer pads */ local 1005 memset(opad, 0, blocklen); 1007 memcpy(opad, key, keylen); 1009 /* XOR the key with ipad and opad value [all...] |
/freebsd-current/sys/contrib/openzfs/module/icp/io/ |
H A D | sha2_mod.c | 606 * SHA2 HMAC is: SHA2(key XOR opad, SHA2(key XOR ipad, text)) 612 * - for outer context: SHA2(key XOR opad) 634 uint64_t opad[SHA512_HMAC_BLOCK_SIZE / sizeof (uint64_t)] = {0}; local 647 (void) memset(opad, 0, block_size); 651 (void) memcpy(opad, keyval, length_in_bytes); 656 /* XOR key with ipad (0x36) and opad (0x5c) */ 659 opad[i] ^= 0x5c5c5c5c5c5c5c5c; 666 /* perform SHA2 on opad */ 668 SHA2Update(&ctx->hc_ocontext, (uint8_t *)opad, block_size);
|
/freebsd-current/contrib/bsnmp/lib/ |
H A D | snmpcrypto.c | 62 static const uint8_t opad = 0x5c; variable 115 key2[i] = extkey[i] ^ opad;
|
/freebsd-current/crypto/heimdal/lib/krb5/ |
H A D | crypto.c | 191 unsigned char *ipad, *opad; local 199 opad = malloc(cm->blocksize + cm->checksumsize); 200 if (opad == NULL) { 205 memset(opad, 0x5c, cm->blocksize); 222 opad[i] ^= key[i]; 227 memcpy(opad + cm->blocksize, result->checksum.data, 229 (*cm->checksum)(context, keyblock, opad, 233 memset(opad, 0, cm->blocksize + cm->checksumsize); 234 free(opad);
|
/freebsd-current/sys/dev/safexcel/ |
H A D | safexcel.c | 1357 const uint8_t *key, int klen, uint8_t *ipad, uint8_t *opad) 1366 safexcel_setkey_hmac_digest(ahash, &ctx, opad); 1356 safexcel_setkey_hmac(const struct crypto_session_params *csp, const uint8_t *key, int klen, uint8_t *ipad, uint8_t *opad) argument
|