Searched refs:opad (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) \
98 /* Perform HASH on opad */ \
100 HASH##Update(&((mac_ctx)->hc_ocontext), (opad), (len));
132 uint32_t *opad);
135 uint32_t *opad);
138 uint64_t *opad, uint_t blocks_per_int64, uint_t block_size);
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) */
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 Dcrypto.c39 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/cmd/perl/5.8.4/distrib/
H A Dpad.h114 =for apidoc m|void|PAD_SAVE_LOCAL|PAD *opad|PAD *npad
115 Save the current pad to the local variable opad, then make the
118 =for apidoc m|void|PAD_RESTORE_LOCAL|PAD *opad
119 Restore the old pad saved into the local variable opad by PAD_SAVE_LOCAL()
156 #define PAD_SAVE_LOCAL(opad,npad) \
157 opad = PL_comppad; \
164 #define PAD_RESTORE_LOCAL(opad) \
165 PL_comppad = opad; \
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/Data/Dumper/
H A DDumper.xs509 SV *opad = sv_x(aTHX_ Nullsv, SvPVX(xpad), SvCUR(xpad), (*levelp)-1);
511 sv_catsv(retval, opad);
512 SvREFCNT_dec(opad);
716 SV *opad = sv_x(aTHX_ Nullsv, SvPVX(xpad), SvCUR(xpad), *levelp-1);
718 sv_catsv(retval, opad);
719 SvREFCNT_dec(opad);
/osnet-11/usr/src/grub/grub2/grub-core/lib/libgcrypt/cipher/
H A Dmd.c854 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 211 milliseconds