Home
last modified time | relevance | path

Searched refs:opad (Results 1 – 14 of 14) sorted by relevance

/external/smack/src/org/xbill/DNS/utils/
DHMAC.java19 private byte [] ipad, opad; field in HMAC
33 opad = new byte[blockLength]; in init()
36 opad[i] = (byte) (key[i] ^ OPAD); in init()
40 opad[i] = OPAD; in init()
133 digest.update(opad); in sign()
/external/srtp/crypto/hash/
Dhmac.c129 state->opad[i] = key[i] ^ 0x5c; in hmac_init()
134 ((uint8_t *)state->opad)[i] = 0x5c; in hmac_init()
195 sha1_update(&state->ctx, (uint8_t *)state->opad, 64); in hmac_compute()
/external/chromium_org/third_party/libsrtp/srtp/crypto/hash/
Dhmac.c129 state->opad[i] = key[i] ^ 0x5c; in hmac_init()
134 ((uint8_t *)state->opad)[i] = 0x5c; in hmac_init()
195 sha1_update(&state->ctx, (uint8_t *)state->opad, 64); in hmac_compute()
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/sunspider-1.0/
Dcrypto-sha1.js113 var ipad = Array(16), opad = Array(16);
117 opad[i] = bkey[i] ^ 0x5C5C5C5C;
121 return core_sha1(opad.concat(hash), 512 + 160);
Dcrypto-md5.js167 var ipad = Array(16), opad = Array(16);
171 opad[i] = bkey[i] ^ 0x5C5C5C5C;
175 return core_md5(opad.concat(hash), 512 + 128);
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/sunspider-0.9.1/
Dcrypto-sha1.js113 var ipad = Array(16), opad = Array(16);
117 opad[i] = bkey[i] ^ 0x5C5C5C5C;
121 return core_sha1(opad.concat(hash), 512 + 160);
Dcrypto-md5.js167 var ipad = Array(16), opad = Array(16);
171 opad[i] = bkey[i] ^ 0x5C5C5C5C;
175 return core_md5(opad.concat(hash), 512 + 128);
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/sunspider-0.9/
Dcrypto-sha1.js113 var ipad = Array(16), opad = Array(16);
117 opad[i] = bkey[i] ^ 0x5C5C5C5C;
121 return core_sha1(opad.concat(hash), 512 + 160);
Dcrypto-md5.js167 var ipad = Array(16), opad = Array(16);
171 opad[i] = bkey[i] ^ 0x5C5C5C5C;
175 return core_md5(opad.concat(hash), 512 + 128);
/external/srtp/crypto/include/
Dhmac.h53 uint8_t opad[64]; member
/external/chromium_org/third_party/libsrtp/srtp/crypto/include/
Dhmac.h53 uint8_t opad[64]; member
/external/chromium_org/third_party/tlslite/tlslite/
Dmathtls.py125 opad = b"\x5C" * repeat
128 self.ohash = self.digestmod(k + opad)
/external/chromium_org/third_party/usrsctp/usrsctplib/netinet/
Dsctp_auth.c951 uint8_t ipad[128], opad[128]; /* keyed hash inner/outer pads */ local
978 bzero(opad, blocklen);
980 bcopy(key, opad, keylen);
985 opad[i] ^= 0x5c;
996 sctp_hmac_update(hmac_algo, &ctx, opad, blocklen);
1011 uint8_t ipad[128], opad[128]; /* keyed hash inner/outer pads */ local
1038 bzero(opad, blocklen);
1040 bcopy(key, opad, keylen);
1045 opad[i] ^= 0x5c;
1075 sctp_hmac_update(hmac_algo, &ctx, opad, blocklen);
/external/chromium_org/third_party/smhasher/src/
Dmd5.cpp16 unsigned char opad[64]; /*!< HMAC: outer padding */ member