Searched refs:ipad (Results 1 – 6 of 6) sorted by relevance
/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/ |
H A D | softMAC.c | 641 md5_hmac_ctx_init(md5_hc_ctx_t *md5_hmac_ctx, uint32_t *ipad, uint32_t *opad) in md5_hmac_ctx_init() argument 646 ipad[i] ^= 0x36363636; in md5_hmac_ctx_init() 649 SOFT_MAC_INIT_CTX(MD5, md5_hmac_ctx, ipad, opad, MD5_HMAC_BLOCK_SIZE); in md5_hmac_ctx_init() 653 sha1_hmac_ctx_init(sha1_hc_ctx_t *sha1_hmac_ctx, uint32_t *ipad, uint32_t *opad) in sha1_hmac_ctx_init() argument 658 ipad[i] ^= 0x36363636; in sha1_hmac_ctx_init() 661 SOFT_MAC_INIT_CTX(SHA1, sha1_hmac_ctx, (const uchar_t *)ipad, in sha1_hmac_ctx_init() 667 sha2_hmac_ctx_init(uint_t mech, sha2_hc_ctx_t *ctx, uint64_t *ipad, in sha2_hmac_ctx_init() argument 674 ipad[i] ^= 0x3636363636363636ULL; in sha2_hmac_ctx_init() 680 SHA2Update(&ctx->hc_icontext, (uint8_t *)ipad, block_size); in sha2_hmac_ctx_init()
|
H A D | softMAC.h | 97 #define SOFT_MAC_INIT_CTX(HASH, mac_ctx, ipad, opad, len) \ argument 100 HASH##Update(&((mac_ctx)->hc_icontext), ipad, len); \
|
/illumos-gate/usr/src/uts/common/crypto/io/ |
H A D | md5_mod.c | 872 uint32_t ipad[MD5_HMAC_INTS_PER_BLOCK]; in md5_mac_init_ctx() local 876 bzero(ipad, MD5_HMAC_BLOCK_SIZE); in md5_mac_init_ctx() 879 bcopy(keyval, ipad, length_in_bytes); in md5_mac_init_ctx() 884 ipad[i] ^= 0x36363636; in md5_mac_init_ctx() 890 MD5Update(&ctx->hc_icontext, ipad, MD5_HMAC_BLOCK_SIZE); in md5_mac_init_ctx()
|
H A D | sha1_mod.c | 819 uint32_t ipad[SHA1_HMAC_INTS_PER_BLOCK]; in sha1_mac_init_ctx() local 823 bzero(ipad, SHA1_HMAC_BLOCK_SIZE); in sha1_mac_init_ctx() 826 bcopy(keyval, ipad, length_in_bytes); in sha1_mac_init_ctx() 831 ipad[i] ^= 0x36363636; in sha1_mac_init_ctx() 837 SHA1Update(&ctx->hc_icontext, (uint8_t *)ipad, SHA1_HMAC_BLOCK_SIZE); in sha1_mac_init_ctx()
|
H A D | sha2_mod.c | 898 uint64_t ipad[SHA512_HMAC_BLOCK_SIZE / sizeof (uint64_t)]; in sha2_mac_init_ctx() local 911 (void) bzero(ipad, block_size); in sha2_mac_init_ctx() 913 (void) bcopy(keyval, ipad, length_in_bytes); in sha2_mac_init_ctx() 918 ipad[i] ^= 0x3636363636363636; in sha2_mac_init_ctx() 924 SHA2Update(&ctx->hc_icontext, (uint8_t *)ipad, block_size); in sha2_mac_init_ctx()
|
/illumos-gate/usr/src/uts/common/io/cxgbe/firmware/ |
H A D | t4fw_interface.h | 3685 __u8 ipad[64]; member
|