Searched refs:ipad (Results 1 - 6 of 6) sorted by relevance

/osnet-11/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftMAC.h94 #define SOFT_MAC_INIT_CTX(HASH, mac_ctx, ipad, opad, len) \
95 /* Perform HASH on ipad */ \
97 HASH##Update(&((mac_ctx)->hc_icontext), (ipad), (len)); \
131 void md5_hmac_ctx_init(md5_hc_ctx_t *md5_hmac_ctx, uint32_t *ipad,
134 void sha1_hmac_ctx_init(sha1_hc_ctx_t *sha1_hmac_ctx, uint32_t *ipad,
137 void sha2_hmac_ctx_init(uint_t mech, sha2_hc_ctx_t *ctx, uint64_t *ipad,
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/cmd/perl/5.8.4/distrib/ext/Data/Dumper/
H A DDumper.xs247 SV *sv, *ipad, *ival;
404 ipad = sv_x(aTHX_ Nullsv, SvPVX(xpad), SvCUR(xpad), *levelp);
495 sv_catsv(retval, ipad);
500 sv_catsv(retval, ipad);
639 sv_catsv(retval, ipad);
751 SvREFCNT_dec(ipad);
H A DDumper.pm227 my($out, $realpack, $realtype, $type, $ipad, $id, $blesspad);
304 $ipad = $s->{xpad} x $s->{level};
329 $out .= $pad . $ipad . '#' . $i if $s->{indent} >= 3;
330 $out .= $pad . $ipad . $s->_dump($v, $sname);
367 $out .= $pad . $ipad . $nk . $pair;
/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 31 milliseconds