Searched refs:ikm (Results 1 – 2 of 2) sorted by relevance
/cts/tests/tests/identity/src/android/security/identity/cts/ |
D | HkdfTest.java | 79 byte[] ikm = randBytes(20); in testNullSaltOrInfo() 83 byte[] hkdfWithNullSalt = Util.computeHkdf("HmacSha256", ikm, null, info, size); in testNullSaltOrInfo() 84 byte[] hkdfWithEmptySalt = Util.computeHkdf("HmacSha256", ikm, new byte[0], info, size); in testNullSaltOrInfo() 88 byte[] hkdfWithNullInfo = Util.computeHkdf("HmacSha256", ikm, salt, null, size); in testNullSaltOrInfo() 89 byte[] hkdfWithEmptyInfo = Util.computeHkdf("HmacSha256", ikm, salt, new byte[0], size); in testNullSaltOrInfo()
|
D | Util.java | 1043 String macAlgorithm, final byte[] ikm, final byte[] salt, final byte[] info, int size) { in computeHkdf() argument 1062 byte[] prk = mac.doFinal(ikm); in computeHkdf()
|