/openjdk7/jdk/src/share/classes/sun/security/krb5/internal/crypto/ |
H A D | ArcFourHmac.java | 62 byte[] checksum, byte[] plaintext, int start, int len) 64 return CRYPTO.encryptSeq(baseKey, usage, checksum, plaintext, start, len); 68 public static byte[] decryptSeq(byte[] baseKey, int usage, byte[] checksum, argument 71 return CRYPTO.decryptSeq(baseKey, usage, checksum, ciphertext, start, len); 81 /* Encrypt plaintext; do not add confounder, or checksum */ 94 /* Decrypt ciphertext; do not remove confounder, or check checksum */ 61 encryptSeq(byte[] baseKey, int usage, byte[] checksum, byte[] plaintext, int start, int len) argument
|
H A D | DesMacKCksumType.java | 72 * Calculates keyed checksum. 73 * @param data the data used to generate the checksum. 75 * @param key the key used to encrypt the checksum. 76 * @return keyed checksum. 97 byte[] key, byte[] checksum, int usage) throws KrbCryptoException { 99 return isChecksumEqual(checksum, new_cksum); 96 verifyKeyedChecksum(byte[] data, int size, byte[] key, byte[] checksum, int usage) argument
|
H A D | HmacMd5ArcFourCksumType.java | 36 * This class encapsulates the checksum type for HMAC RC4 75 * Calculates keyed checksum. 76 * @param data the data used to generate the checksum. 78 * @param key the key used to encrypt the checksum. 79 * @return keyed checksum. 94 * Verifies keyed checksum. 97 * @param key the key used to encrypt the checksum. 98 * @param checksum 102 byte[] key, byte[] checksum, int usage) throws KrbCryptoException { 108 return isChecksumEqual(checksum, newCksu 101 verifyKeyedChecksum(byte[] data, int size, byte[] key, byte[] checksum, int usage) argument [all...] |
H A D | HmacSha1Aes128CksumType.java | 36 * This class encapsulates the checksum type for AES128 75 * Calculates keyed checksum. 76 * @param data the data used to generate the checksum. 78 * @param key the key used to encrypt the checksum. 79 * @return keyed checksum. 94 * Verifies keyed checksum. 97 * @param key the key used to encrypt the checksum. 98 * @param checksum 102 byte[] key, byte[] checksum, int usage) throws KrbCryptoException { 107 return isChecksumEqual(checksum, newCksu 101 verifyKeyedChecksum(byte[] data, int size, byte[] key, byte[] checksum, int usage) argument [all...] |
H A D | HmacSha1Aes256CksumType.java | 36 * This class encapsulates the checksum type for AES256 75 * Calculates keyed checksum. 76 * @param data the data used to generate the checksum. 78 * @param key the key used to encrypt the checksum. 79 * @return keyed checksum. 94 * Verifies keyed checksum. 97 * @param key the key used to encrypt the checksum. 98 * @param checksum 102 byte[] key, byte[] checksum, int usage) throws KrbCryptoException { 107 return isChecksumEqual(checksum, newCksu 101 verifyKeyedChecksum(byte[] data, int size, byte[] key, byte[] checksum, int usage) argument [all...] |
H A D | HmacSha1Des3KdCksumType.java | 69 * Calculates keyed checksum. 70 * @param data the data used to generate the checksum. 72 * @param key the key used to encrypt the checksum. 73 * @return keyed checksum. 88 * Verifies keyed checksum. 91 * @param key the key used to encrypt the checksum. 92 * @param checksum 96 byte[] key, byte[] checksum, int usage) throws KrbCryptoException { 102 return isChecksumEqual(checksum, newCksum); 95 verifyKeyedChecksum(byte[] data, int size, byte[] key, byte[] checksum, int usage) argument
|
H A D | Crc32CksumType.java | 76 byte[] key, byte[] checksum, int usage) { 75 verifyKeyedChecksum(byte[] data, int size, byte[] key, byte[] checksum, int usage) argument
|
H A D | RsaMd5CksumType.java | 69 * Calculates checksum using MD5. 70 * @param data the data used to generate the checksum. 72 * @return the checksum. 100 byte[] key, byte[] checksum, int usage) throws KrbCryptoException { 99 verifyKeyedChecksum(byte[] data, int size, byte[] key, byte[] checksum, int usage) argument
|
H A D | DesMacCksumType.java | 73 * Calculates keyed checksum. 74 * @param data the data used to generate the checksum. 76 * @param key the key used to encrypt the checksum. 77 * @return keyed checksum. 124 * Verifies keyed checksum. 127 * @param key the key used to encrypt the checksum. 128 * @param checksum 134 byte[] key, byte[] checksum, int usage) throws KrbCryptoException { 135 byte[] cksum = decryptKeyedChecksum(checksum, key); 158 * Decrypts keyed checksum 133 verifyKeyedChecksum(byte[] data, int size, byte[] key, byte[] checksum, int usage) argument [all...] |
H A D | RsaMd5DesCksumType.java | 74 * Calculates keyed checksum. 75 * @param data the data used to generate the checksum. 77 * @param key the key used to encrypt the checksum. 78 * @return keyed checksum. 119 * Verifies keyed checksum. 122 * @param key the key used to encrypt the checksum. 123 * @param checksum 129 byte[] key, byte[] checksum, int usage) throws KrbCryptoException { 130 //decrypt checksum 131 byte[] cksum = decryptKeyedChecksum(checksum, ke 128 verifyKeyedChecksum(byte[] data, int size, byte[] key, byte[] checksum, int usage) argument [all...] |
H A D | CksumType.java | 122 * Returns default checksum type. 160 byte[] key, byte[] checksum, int usage) throws KrbCryptoException; 159 verifyKeyedChecksum(byte[] data, int size, byte[] key, byte[] checksum, int usage) argument
|
/openjdk7/jdk/src/share/classes/sun/security/krb5/ |
H A D | Checksum.java | 41 * This class encapsulates the concept of a Kerberos checksum. 46 private byte[] checksum; field in class:Checksum 49 // Checksum type |sumtype |checksum 87 * If the default checksum is not 96 System.out.println("Exception in getting default checksum "+ 98 "Setting default checksum to be RSA-MD5"); 116 "checksum value " + 118 "safe default checksum to be RSA-MD5"); 127 * @data the byte array of checksum. 128 * @new_cksumType the type of checksum [all...] |
/openjdk7/jdk/src/share/classes/sun/security/jgss/krb5/ |
H A D | MessageToken.java | 43 * data besides just the sequence number and checksum. This class 68 * Where "s" indicates the size of the checksum. 78 /* Fields in header minus checksum size */ 90 /* Use a DES MAC MD5 checksum */ 93 /* Use DES MAC checksum. */ 97 /* Use a HMAC SHA1 DES3 -KD checksum */ 136 private byte[] checksum = null; field in class:MessageToken 203 checksum = new byte[cipherHelper.getChecksumLength()]; 204 readFully(is, checksum); 206 // debug("\n\tRead checksum [all...] |
H A D | WrapToken_v2.java | 44 * is replaced by (confounder || data || tokenHeader || checksum). 148 * Make sure checksum is not corrupt 152 "Corrupt checksum in Wrap token"); 191 tokenData = new byte[dataLen + checksum.length]; 193 System.arraycopy(checksum, 0, tokenData, dataLen, checksum.length);
|
H A D | MessageToken_v2.java | 43 * checksum. This class encapsulates the commonality in the structure of 65 * by the checksum for Wrap tokens without 139 byte[] checksum = null; field in class:MessageToken_v2 242 // Read checksum 244 checksum = new byte[chkLen]; 246 checksum, 0, chkLen); 288 * Generates the checksum field and the sequence number field. 291 * @param data the application data to checksum 295 * @throws GSSException if an error occurs in the checksum calculation or 331 checksum [all...] |
H A D | InitSecContextToken.java | 62 Checksum checksum = gssChecksum.getChecksum(); 71 checksum);
|
H A D | MicToken_v2.java | 61 "Corrupt checksum or sequence number in MIC token"); 72 "Corrupt checksum or sequence number in MIC token"); 116 os.write(checksum);
|
H A D | InitialToken.java | 210 // be passed in if this checksum type denotes a 213 public OverloadedChecksum(Krb5Context context, Checksum checksum, argument 219 if (checksum == null) { 225 checksumBytes = checksum.getBytes(); 232 "Incorrect checksum");
|
H A D | CipherHelper.java | 70 * A zero initial vector to be used for checksum calculation and for 184 // fall through to encrypt checksum 336 // Krb5Token.debug("\nAES calculate checksum on: " + 343 // Krb5Token.debug("\nAES128 checksum: " + 358 // Krb5Token.debug("\nAES256 checksum: " + 414 // ivec passed is the checksum 415 byte[] checksum; 417 checksum = ivec; 419 checksum = new byte[HMAC_CHECKSUM_SIZE]; 420 System.arraycopy(ivec, 0, checksum, [all...] |
/openjdk7/jdk/src/share/classes/sun/security/krb5/internal/crypto/dk/ |
H A D | ArcFourCrypto.java | 138 * Calculate the checksum 171 // Generate checksum of message 185 // Generate checksum 197 throw new GeneralSecurityException("checksum size too short: " + 206 byte[] checksum, byte[] plaintext, int start, int len) 218 kSeq = getHmac(kSeq, checksum); 232 byte[] checksum, byte[] ciphertext, int start, int len) 245 kSeq = getHmac(kSeq, checksum); 291 // generate checksum using K2 292 byte[] checksum 205 encryptSeq(byte[] baseKey, int usage, byte[] checksum, byte[] plaintext, int start, int len) argument 231 decryptSeq(byte[] baseKey, int usage, byte[] checksum, byte[] ciphertext, int start, int len) argument [all...] |
/openjdk7/jdk/src/share/classes/sun/util/calendar/ |
H A D | ZoneInfo.java | 121 private int checksum; field in class:ZoneInfo 209 * @param checksum CRC32 value with all transitions table entry 220 int checksum, 228 this.checksum = checksum; 755 return getLastRawOffset() ^ checksum; 775 && (checksum == that.checksum)); 812 return (checksum == ((ZoneInfo)other).checksum); 217 ZoneInfo(String ID, int rawOffset, int dstSavings, int checksum, long[] transitions, int[] offsets, int[] simpleTimeZoneParams, boolean willGMTOffsetChange) argument [all...] |
H A D | ZoneInfoFile.java | 127 * checksum crc32; 149 * <code>raw_offset</code>, <code>dstsaving</code> and <code>checksum</code> 214 * <p><strong>1.6 <code>checksum</code> structure</strong><p> 217 * checksum { 224 * See {@link ZoneInfo#checksum ZoneInfo.checksum}. 605 int checksum = 0; 639 checksum = val; 736 return new ZoneInfo(id, rawOffset, dstSavings, checksum,
|
/openjdk7/jdk/src/share/classes/java/text/ |
H A D | RuleBasedBreakIterator.java | 312 private long checksum; field in class:RuleBasedBreakIterator 341 * In <code>header</code>, each field except for checksum implies the 344 * <code>checksum</code> is a CRC32 value of all in <code>body</code>. 354 * u8 checksum; 388 checksum = BreakIterator.getLong(buffer, 28); 483 /* Read data: totalDataSize + 8(for checksum) */ 531 if (checksum != other.checksum) { 551 sb.append("checksum=0x" + Long.toHexString(checksum)); [all...] |
/openjdk7/jdk/make/tools/src/build/tools/javazic/ |
H A D | Timezone.java | 191 * @return the checksum (crc32) value of the trasition table 362 void checksum() { method in class:Timezone
|
H A D | Zoneinfo.java | 559 tz.checksum();
|