Searched defs:ipad (Results 1 - 3 of 3) sorted by relevance

/osnet-11/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftMAC.c207 /* SSL MAC is HASH(key + opad + HASH(key + ipad + data)) */
273 /* SSL MAC is HASH(key + opad + HASH(key + ipad + data)) */
687 * ipad and opad.
690 md5_hmac_ctx_init(md5_hc_ctx_t *md5_hmac_ctx, uint32_t *ipad, uint32_t *opad) argument
693 /* XOR key with ipad (0x36) and opad (0x5c) */
695 ipad[i] ^= 0x36363636;
698 SOFT_MAC_INIT_CTX(MD5, md5_hmac_ctx, ipad, opad, MD5_HMAC_BLOCK_SIZE);
702 sha1_hmac_ctx_init(sha1_hc_ctx_t *sha1_hmac_ctx, uint32_t *ipad, uint32_t *opad) argument
705 /* XOR key with ipad (0x36) and opad (0x5c) */
707 ipad[
716 sha2_hmac_ctx_init(uint_t mech, sha2_hc_ctx_t *ctx, uint64_t *ipad, uint64_t *opad, uint_t blocks_per_int64, uint_t block_size) argument
[all...]
/osnet-11/usr/src/grub/grub2/grub-core/lib/
H A Dcrypto.c260 grub_uint8_t *ipad = NULL, *opad = NULL; local
283 ipad = grub_zalloc (md->blocksize);
284 if (!ipad)
291 grub_memcpy ( ipad, key, keylen );
295 ipad[i] ^= 0x36;
303 md->write (ctx, ipad, md->blocksize); /* inner pad */
304 grub_memset (ipad, 0, md->blocksize);
305 grub_free (ipad);
306 ipad = NULL;
321 grub_free (ipad);
[all...]
/osnet-11/usr/src/grub/grub2/grub-core/lib/libgcrypt/cipher/
H A Dmd.c854 unsigned char *ipad, *opad; local
871 ipad = hd->ctx->macpads;
873 memcpy ( ipad, key, keylen );
877 ipad[i] ^= 0x36;

Completed in 32 milliseconds