Searched defs:confounder (Results 1 - 3 of 3) sorted by relevance

/openjdk7/jdk/src/share/classes/sun/security/jgss/krb5/
H A DWrapToken_v2.java43 * prepended by a random confounder of 16 bytes. Thus, all application data
44 * is replaced by (confounder || data || tokenHeader || checksum).
51 byte[] confounder = null; field in class:WrapToken_v2
167 confounder = Confounder.bytes(CONFOUNDER_SIZE);
170 // getHexBytes(confounder) + " " +
197 // Encrypt(16-byte confounder | plaintext | token_header) |
200 tokenData = cipherHelper.encryptData(this, confounder, getTokenHeader(),
H A DWrapToken.java45 * data is replaced by (confounder || data || padding).
51 * The size of the random confounder used in a WrapToken.
98 // the len of the token data: (confounder || data || padding)
102 byte[] confounder = null; field in class:WrapToken
184 // Remove the confounder and the padding
185 byte[] retVal = new byte[dataSize - confounder.length -
211 return (dataSize - confounder.length - padding.length);
239 confounder = new byte[CONFOUNDER_SIZE];
248 getHexBytes(confounder) + " " +
260 confounder,
[all...]
H A DCipherHelper.java664 void encryptData(WrapToken token, byte[] confounder, byte[] plaintext, argument
674 // debug(getHexBytes(confounder, confounder.length));
675 cos.write(confounder);
683 byte[] ctext = des3KdEncrypt(confounder, plaintext, start, len,
691 byte[] ciphertext = arcFourEncrypt(token, confounder, plaintext,
708 * { Encrypt(16-byte confounder | plaintext | 16-byte token_header) |
710 * where HMAC is on {16-byte confounder | plaintext | 16-byte token_header}
713 byte[] encryptData(WrapToken_v2 token, byte[] confounder, byte[] tokenHeader, argument
719 return aes128Encrypt(confounder, tokenHeade
730 encryptData(WrapToken token, byte[] confounder, byte[] plaintext, int pStart, int pLen, byte[] padding, byte[] ciphertext, int cStart) argument
786 encryptData(WrapToken_v2 token, byte[] confounder, byte[] tokenHeader, byte[] plaintext, int pStart, int pLen, byte[] ciphertext, int cStart, int key_usage) argument
1172 des3KdEncrypt(byte[] confounder, byte[] plaintext, int start, int len, byte[] padding) argument
1253 arcFourEncrypt(WrapToken token, byte[] confounder, byte[] plaintext, int start, int len, byte[] padding) argument
1289 aes128Encrypt(byte[] confounder, byte[] tokenHeader, byte[] plaintext, int start, int len, int key_usage) argument
1358 aes256Encrypt(byte[] confounder, byte[] tokenHeader, byte[] plaintext, int start, int len, int key_usage) argument
[all...]

Completed in 37 milliseconds