Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 40 of 55 for axes (0.05 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/test/java/jcifs/smb/SmbTransportImplTest.java

            }
    
            @Test
            @DisplayName("createEncryptionContext selects AES-CCM for SMB 3.0 and AES-GCM for SMB 3.1.1")
            void createEncryptionContext_happyDialects() throws Exception {
                byte[] sessionKey = new byte[16];
                byte[] preauth = new byte[16];
    
                // SMB 3.0 -> AES-128-CCM
                setField(transport, "smb2", true);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 17.6K bytes
    - Click Count (0)
  2. docs/security/README.md

    - [PRF](#prf): HMAC-SHA-256
    - [AEAD](#aead): AES-256-GCM if the CPU supports AES-NI, ChaCha20-Poly1305 otherwise. More specifically AES-256-GCM is only selected for X86-64 CPUs with AES-NI extension.
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Feb 26 09:25:50 GMT 2025
    - 13.8K bytes
    - Click Count (0)
  3. internal/config/certs_test.go

    kQyKGUTpDbKLuyYMFsoH73YLjBqNe+UEhPwE+FWpcky1Sp9RTx/oMLpiZaPR
    -----END CERTIFICATE-----`,
    		shouldFail: true,
    	},
    	{
    		password: "foobar",
    		privateKey: `-----BEGIN RSA PRIVATE KEY-----
    Proc-Type: 4,ENCRYPTED
    DEK-Info: AES-128-CBC,CC483BF11678C35F9F02A1AD85DAE285
    
    nMDFd+Qxk1f+S7LwMitmMofNXYNbCY4L1QEqPOOx5wnjNF1wSxmEkL7+h8W4Y/vb
    AQt/7TCcUSuSqEMl45nUIcCbhBos5wz+ShvFiez3qKwmR5HSURvqyN6PIJeAbU+h
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Feb 18 16:25:55 GMT 2025
    - 21.6K bytes
    - Click Count (0)
  4. src/test/java/jcifs/internal/smb2/Smb2SigningDigestTest.java

        private static final int SIGNATURE_OFFSET = 48;
        private static final int SIGNATURE_LENGTH = 16;
    
        @BeforeAll
        static void setupClass() {
            // Ensure BouncyCastle provider is available for AES-CMAC
            if (Security.getProvider(BouncyCastleProvider.PROVIDER_NAME) == null) {
                Security.addProvider(new BouncyCastleProvider());
            }
        }
    
        @BeforeEach
        void setup() {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 43.7K bytes
    - Click Count (0)
  5. lib/fips140/v1.0.0-c2097c7c.zip

    gcm import ( "crypto/internal/fips140" "crypto/internal/fips140/aes" "crypto/internal/fips140/subtle" ) // CMAC implements the CMAC mode from NIST SP 800-38B. // // It is optimized for use in Counter KDF (SP 800-108r1) and XAES-256-GCM // (https://c2sp.org/XAES-256-GCM), rather than for exposing it to applications // as a stand-alone MAC. type CMAC struct { b aes.Block k1 [aes.BlockSize]byte k2 [aes.BlockSize]byte } func NewCMAC(b *aes.Block) *CMAC { c := &CMAC{b: *b} c.deriveSubkeys() return c } func...
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Thu Sep 25 19:53:19 GMT 2025
    - 642.7K bytes
    - Click Count (0)
  6. src/test/java/jcifs/audit/SecurityAuditLoggerTest.java

        }
    
        @Test
        @DisplayName("Test log encryption")
        void testLogEncryption() {
            logger.logEncryption(true, "AES-128-GCM", "SMB3.1.1");
    
            Map<EventType, Long> stats = logger.getStatistics();
            assertEquals(Long.valueOf(1), stats.get(EventType.ENCRYPTION_ENABLED), "Should have 1 encryption event");
        }
    
        @Test
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 8.6K bytes
    - Click Count (0)
  7. CONTRIBUTING.md

    > **NOTE:** Do **NOT** run `gradle build` on the local development environment,
    > even if you have Gradle or Develocity build caching enabled for the project.
    > The Gradle Build Tool repository is massive, and it will take ages to build on
    > a local machine without necessary parallelization and caching.
    > The full test suites are executed on the CI instance for multiple configurations,
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Nov 25 06:57:22 GMT 2025
    - 19K bytes
    - Click Count (0)
  8. src/main/java/jcifs/smb/SmbTransportImpl.java

                if (cipherId == -1) {
                    // Default to AES-128-GCM for SMB 3.1.1 if no cipher negotiated
                    cipherId = EncryptionNegotiateContext.CIPHER_AES128_GCM;
                }
            } else if (dialect.atLeast(DialectVersion.SMB300)) {
                // SMB 3.0/3.0.2 only supports AES-128-CCM
                cipherId = EncryptionNegotiateContext.CIPHER_AES128_CCM;
            } else {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 69.8K bytes
    - Click Count (0)
  9. docs/smb3-features/02-persistent-handles-design.md

    ```java
    public class SecureHandleStorage {
        private final SecretKey encryptionKey;
        
        public void saveEncrypted(HandleInfo handle, Path file) throws Exception {
            Cipher cipher = Cipher.getInstance("AES/GCM/NoPadding");
            cipher.init(Cipher.ENCRYPT_MODE, encryptionKey);
            
            ByteArrayOutputStream baos = new ByteArrayOutputStream();
            try (CipherOutputStream cos = new CipherOutputStream(baos, cipher);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 02:53:50 GMT 2025
    - 31.6K bytes
    - Click Count (0)
  10. src/main/java/jcifs/config/BaseConfiguration.java

        protected boolean compressionEnabled = false;
        /** Preferred encryption ciphers in order of preference */
        protected String preferredCiphers = "AES_128_GCM,AES_128_CCM,AES_256_GCM,AES_256_CCM";
        /** Whether AES-256 encryption is enabled */
        protected boolean aes256Enabled = true;
        /** Whether to use SMB2/SMB3 leases for caching */
        protected boolean useLease = true;
        /** Lease timeout in milliseconds */
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 36.5K bytes
    - Click Count (0)
Back to Top