HomeSort by relevance Sort by last modified time
    Searched defs:opad (Results 1 - 8 of 8) sorted by null

  /onnv/onnv-gate/usr/src/common/crypto/fips/
fips_sha1_util.c 178 uint32_t opad[SHA1_HMAC_INTS_PER_BLOCK]; local
182 bzero(opad, SHA1_HMAC_BLOCK_SIZE);
185 bcopy(keyval, opad, length_in_bytes);
187 /* XOR key with ipad (0x36) and opad (0x5c) */
190 opad[i] ^= 0x5c5c5c5c;
197 /* perform SHA1 on opad */
199 SHA1Update(&ctx->hc_ocontext, (uint8_t *)opad, SHA1_HMAC_BLOCK_SIZE);
fips_sha2_util.c 285 uint64_t opad[SHA512_HMAC_BLOCK_SIZE / sizeof (uint64_t)]; local
298 (void) bzero(opad, block_size);
300 (void) bcopy(keyval, opad, length_in_bytes);
302 /* XOR key with ipad (0x36) and opad (0x5c) */
305 opad[i] ^= 0x5c5c5c5c5c5c5c5c;
312 /* perform SHA2 on opad */
314 SHA2Update(&ctx->hc_ocontext, (uint8_t *)opad, block_size);
  /onnv/onnv-gate/usr/src/uts/common/crypto/io/
sha1_mod.c 798 * SHA1 HMAC is: SHA1(key XOR opad, SHA1(key XOR ipad, text))
804 * - for outer context: SHA1(key XOR opad)
826 uint32_t opad[SHA1_HMAC_INTS_PER_BLOCK]; local
830 bzero(opad, SHA1_HMAC_BLOCK_SIZE);
833 bcopy(keyval, opad, length_in_bytes);
835 /* XOR key with ipad (0x36) and opad (0x5c) */
838 opad[i] ^= 0x5c5c5c5c;
845 /* perform SHA1 on opad */
847 SHA1Update(&ctx->hc_ocontext, (uint8_t *)opad, SHA1_HMAC_BLOCK_SIZE);
    [all...]
sha2_mod.c 860 * SHA2 HMAC is: SHA2(key XOR opad, SHA2(key XOR ipad, text))
866 * - for outer context: SHA2(key XOR opad)
888 uint64_t opad[SHA512_HMAC_BLOCK_SIZE / sizeof (uint64_t)]; local
901 (void) bzero(opad, block_size);
903 (void) bcopy(keyval, opad, length_in_bytes);
905 /* XOR key with ipad (0x36) and opad (0x5c) */
908 opad[i] ^= 0x5c5c5c5c5c5c5c5c;
915 /* perform SHA2 on opad */
917 SHA2Update(&ctx->hc_ocontext, (uint8_t *)opad, block_size);
    [all...]
md5_mod.c 850 * MD5 HMAC is: MD5(key XOR opad, MD5(key XOR ipad, text))
856 * - for outer context: MD5(key XOR opad)
878 uint32_t opad[MD5_HMAC_INTS_PER_BLOCK]; local
882 bzero(opad, MD5_HMAC_BLOCK_SIZE);
885 bcopy(keyval, opad, length_in_bytes);
887 /* XOR key with ipad (0x36) and opad (0x5c) */
890 opad[i] ^= 0x5c5c5c5c;
897 /* perform MD5 on opad */
899 MD5Update(&ctx->hc_ocontext, opad, MD5_HMAC_BLOCK_SIZE);
    [all...]
  /onnv/onnv-gate/usr/src/uts/common/c2/
audit.c 88 p_audit_data_t *opad; /* parent process audit data */ local
94 opad = P2A(curproc);
109 mutex_enter(&opad->pad_lock); /* lock opad structure during copy */
110 pad->pad_data = opad->pad_data; /* copy parent's process audit data */
113 mutex_exit(&opad->pad_lock); /* current proc will keep cwrd open */
    [all...]
  /onnv/onnv-gate/usr/src/uts/common/inet/ip/
ipsecah.c 2611 uchar_t *opad = ((uchar_t *)inbound_ah + local
    [all...]
  /onnv/onnv-gate/usr/src/cmd/cmd-inet/usr.lib/mdnsd/
mDNSEmbeddedAPI.h 2587 mDNSu8 opad[HMAC_LEN]; member in struct:__anon202
    [all...]

Completed in 3569 milliseconds