- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 51 for opad (0.02 sec)
-
src/test/java/jcifs/util/HMACT64Test.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/util/HMACT64.java
final int length = Math.min(key.length, BLOCK_LENGTH); for (int i = 0; i < length; i++) { ipad[i] = (byte) (key[i] ^ IPAD); opad[i] = (byte) (key[i] ^ OPAD); } for (int i = length; i < BLOCK_LENGTH; i++) { ipad[i] = IPAD; opad[i] = OPAD; } try { md5 = MessageDigest.getInstance("MD5"); } catch (final Exception ex) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 3.6K bytes - Viewed (0) -
src/main/java/jcifs/util/HMACT64.java
final int length = Math.min(key.length, BLOCK_LENGTH); for (int i = 0; i < length; i++) { this.ipad[i] = (byte) (key[i] ^ IPAD); this.opad[i] = (byte) (key[i] ^ OPAD); } for (int i = length; i < BLOCK_LENGTH; i++) { this.ipad[i] = IPAD; this.opad[i] = OPAD; } this.md5 = Crypto.getMD5(); engineReset(); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 3.6K bytes - Viewed (0) -
src/test/java/jcifs/smb1/util/HMACT64Test.java
MessageDigest md5 = MessageDigest.getInstance("MD5"); byte[] ipad = new byte[64]; byte[] opad = new byte[64]; // HMACT64 specific: truncate key to 64 bytes if needed int keyLen = Math.min(key.length, 64); for (int i = 0; i < keyLen; i++) { ipad[i] = (byte) (key[i] ^ 0x36); opad[i] = (byte) (key[i] ^ 0x5c); } for (int i = keyLen; i < 64; i++) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComWriteAndX.java
final int start = dstIndex; this.dataOffset = dstIndex - this.headerStart + 26; // 26 = off from here to pad this.pad = (this.dataOffset - this.headerStart) % 4; this.pad = this.pad == 0 ? 0 : 4 - this.pad; this.dataOffset += this.pad; SMBUtil.writeInt2(this.fid, dst, dstIndex); dstIndex += 2; SMBUtil.writeInt4(this.offset, dst, dstIndex);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.1K bytes - Viewed (0) -
cmd/config-versions.go
Compression compress.Config `json:"compress"` // OpenID configuration OpenID openid.Config `json:"openid"` // External policy enforcements. Policy struct { // OPA configuration. OPA opa.Args `json:"opa"` // Add new external policy enforcements here. } `json:"policy"` LDAPServerConfig xldap.LegacyConfig `json:"ldapserverconfig"`
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 2.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/SmbComTransactionTest.java
@Test @DisplayName("Test pad calculation with various offsets") void testPadCalculation() { // Test pad calculation with different alignment values assertEquals(0, transaction.pad(0)); // Already aligned assertEquals(0, transaction.pad(4)); // Already aligned assertEquals(0, transaction.pad(8)); // Already aligned assertEquals(3, transaction.pad(1)); // Need 3 bytes to align to 4
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.7K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComTransaction.java
pad = parameterOffset % PADDING_SIZE; pad = pad == 0 ? 0 : PADDING_SIZE - pad; parameterOffset += pad; } // caclulate parameterDisplacement before calculating new parameterCount parameterDisplacement += parameterCount; int available = maxBufferSize - parameterOffset - pad;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 10.4K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComTransactionResponse.java
} return bufferIndex - start; } @Override int readBytesWireFormat(final byte[] buffer, int bufferIndex) { pad = pad1 = 0; final int n; if (parameterCount > 0) { bufferIndex += pad = parameterOffset - (bufferIndex - headerStart); System.arraycopy(buffer, bufferIndex, txn_buf, bufParameterStart + parameterDisplacement, parameterCount);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 5.9K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans/SmbComTransactionResponse.java
} @Override protected int readBytesWireFormat(final byte[] buffer, int bufferIndex) throws SMBProtocolDecodingException { this.pad = this.pad1 = 0; if (this.parameterCount > 0) { bufferIndex += this.pad = this.parameterOffset - (bufferIndex - this.headerStart);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 12.3K bytes - Viewed (0)