Searched defs:opad (Results 1 - 3 of 3) sorted by relevance
/osnet-11/usr/src/lib/pkcs11/pkcs11_softtoken/common/ |
H A D | softMAC.c | 207 /* 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) */ 696 opad[i] ^= 0x5c5c5c5c; 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) */ 708 opad[ 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 D | crypto.c | 39 void *opad; member in struct:grub_crypto_hmac_handle 260 grub_uint8_t *ipad = NULL, *opad = NULL; local 287 opad = grub_zalloc (md->blocksize); 288 if (!opad) 292 grub_memcpy ( opad, key, keylen ); 296 opad[i] ^= 0x5c; 314 ret->opad = opad; 322 grub_free (opad); 349 hnd->md->write (ctx2, hnd->opad, hn [all...] |
/osnet-11/usr/src/grub/grub2/grub-core/lib/libgcrypt/cipher/ |
H A D | md.c | 854 unsigned char *ipad, *opad; local 872 opad = (hd->ctx->macpads)+(hd->ctx->macpads_Bsize); 874 memcpy ( opad, key, keylen ); 878 opad[i] ^= 0x5c;
|
Completed in 20 milliseconds