- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for CCM (0.01 sec)
-
src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java
assertNotNull(nonce2, "Second nonce should not be null"); assertEquals(12, nonce1.length, "CCM nonce should be 12 bytes"); assertEquals(12, nonce2.length, "CCM nonce should be 12 bytes"); assertFalse(Arrays.equals(nonce1, nonce2), "Consecutive nonces should be different"); // For CCM, verify counter-based generation (first 8 bytes contain counter)
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 44.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTransportImplTest.java
setField(transport, "negotiated", smb300); Smb2EncryptionContext ccm = transport.createEncryptionContext(sessionKey, preauth); assertEquals(EncryptionNegotiateContext.CIPHER_AES128_CCM, ccm.getCipherId()); assertEquals(DialectVersion.SMB300, ccm.getDialect()); // SMB 3.1.1 -> default AES-128-GCM when server did not choose
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/Smb2EncryptionContext.java
// Support both AES-128 and AES-256 for CCM cipher int keyLength = getKeyLength(); final AEADBlockCipher cipher; if (keyLength == 16) { // AES-128 CCM cipher = new CCMBlockCipher(new AESEngine()); } else if (keyLength == 32) { // AES-256 CCM - Bouncy Castle supports AES-256 with same AESEngineRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 35.5K bytes - Viewed (0)