Home
last modified time | relevance | path

Searched refs:HMAC_KEY (Results 1 – 4 of 4) sorted by relevance

/external/okio/okio/src/commonTest/kotlin/okio/
DHashingTest.kt41 assertEquals(HMAC_SHA1_abc, "abc".encodeUtf8().hmacSha1(HMAC_KEY)) in byteStringHmacSha1()
45 assertEquals(HMAC_SHA256_abc, "abc".encodeUtf8().hmacSha256(HMAC_KEY)) in byteStringHmacSha256()
49 assertEquals(HMAC_SHA512_abc, "abc".encodeUtf8().hmacSha512(HMAC_KEY)) in byteStringHmacSha512()
77 assertEquals(HMAC_SHA1_abc, Buffer().writeUtf8("abc").hmacSha1(HMAC_KEY)) in bufferHmacSha1()
81 assertEquals(HMAC_SHA256_abc, Buffer().writeUtf8("abc").hmacSha256(HMAC_KEY)) in bufferHmacSha256()
85 assertEquals(HMAC_SHA512_abc, Buffer().writeUtf8("abc").hmacSha512(HMAC_KEY)) in bufferHmacSha512()
113 val HMAC_KEY = constant
DHashingSinkTest.kt60 val hashingSink = hmacSha1(sink, HashingTest.HMAC_KEY) in hmacSha1()
67 val hashingSink = hmacSha256(sink, HashingTest.HMAC_KEY) in hmacSha256()
74 val hashingSink = hmacSha512(sink, HashingTest.HMAC_KEY) in hmacSha512()
DHashingSourceTest.kt61 val hashingSource = hmacSha1(source, HashingTest.HMAC_KEY) in hmacSha1()
68 val hashingSource = hmacSha256(source, HashingTest.HMAC_KEY) in hmacSha256()
75 val hashingSource = hmacSha512(source, HashingTest.HMAC_KEY) in hmacSha512()
/external/ms-tpm-20-ref/TPMCmd/tpm/src/crypt/
DCryptUtil.c906 TPM2B_TYPE(HMAC_KEY, (sizeof(extraKey->t.buffer) in CryptParameterDecryption()