Searched refs:Ki (Results 1 - 3 of 3) sorted by relevance

/openjdk7/jdk/src/share/classes/sun/security/krb5/internal/crypto/dk/
H A DAesDkCrypto.java305 byte[] Ki = null;
351 Ki = dk(baseKey, constant);
354 traceOutput("Ki", Ki, 0, Ke.length);
358 // H1 = HMAC(Ki, conf | plaintext | pad)
359 byte[] hmac = getHmac(Ki, toBeEncrypted);
369 if (Ki != null) {
370 Arrays.fill(Ki, 0, Ki.length, (byte) 0);
383 byte[] Ki
[all...]
H A DDkCrypto.java85 * H1 = HMAC(Ki, conf | plaintext | pad)
104 byte[] Ki = null;
174 Ki = dk(baseKey, constant);
177 traceOutput("Ki", Ki, 0, Ke.length);
181 // H1 = HMAC(Ki, conf | plaintext | pad)
182 byte[] hmac = getHmac(Ki, toBeEncrypted);
198 if (Ki != null) {
199 Arrays.fill(Ki, 0, Ki
[all...]
/openjdk7/jdk/src/share/classes/com/sun/security/sasl/digest/
H A DDigestMD5Base.java1052 * @param Ki A non-null byte array containing the key for the digest
1061 protected byte[] getHMAC(byte[] Ki, byte[] seqnum, byte[] msg, argument
1069 SecretKey keyKi = new SecretKeySpec(Ki, "HmacMD5");
1317 /* HMAC(Ki, {SeqNum, msg})[0..9] */
1344 /* {msg, pad, HMAC(Ki, {SeqNum, msg}[0..9])} */
1354 /* CIPHER(Kc, {msg, pad, HMAC(Ki, {SeqNum, msg}[0..9])}) */
1423 /* CIPHER(Kc, {msg, pad, HMAC(Ki, {SeqNum, msg}[0..9])}) */

Completed in 1322 milliseconds