Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for KDF (0.04 sec)

  1. src/main/java/jcifs/internal/smb2/Smb3KeyDerivation.java

        /**
         *
         */
        private Smb3KeyDerivation() {
        }
    
        /**
         * Derives the SMB3 signing key from the session key using the appropriate KDF for the dialect.
         *
         * @param dialect the SMB dialect version
         * @param sessionKey the base session key
         * @param preauthIntegrity the pre-authentication integrity hash (for SMB 3.1.1) or null
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/util/SecureKeyManager.java

            checkNotClosed();
    
            // Simple KDF implementation (should be replaced with proper KDF like HKDF)
            // This is a placeholder - real implementation should use proper KDF
            byte[] derived = new byte[length];
    
            // Combine inputs
            byte[] labelBytes = label.getBytes(java.nio.charset.StandardCharsets.UTF_8);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 21.5K bytes
    - Viewed (0)
  3. cmd/encryption-v1_test.go

    		if err != nil {
    			t.Fatalf("Test %d: Failed to encrypt request: %v", i, err)
    		}
    		if kdf, ok := test.metadata[crypto.MetaAlgorithm]; !ok {
    			t.Errorf("Test %d: ServerSideEncryptionKDF must be part of metadata: %v", i, kdf)
    		}
    		if iv, ok := test.metadata[crypto.MetaIV]; !ok {
    			t.Errorf("Test %d: crypto.SSEIV must be part of metadata: %v", i, iv)
    		}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 19.9K bytes
    - Viewed (0)
  4. README.md

    - **AES-CCM/GCM Support**: Both AES-128-CCM (SMB 3.0/3.0.2) and AES-128-GCM (SMB 3.1.1) cipher suites
    - **Encryption Context**: Per-session encryption state management
    - **Key Derivation**: SMB3 KDF implementation with dialect-specific parameters
    - **Pre-Authentication Integrity**: SMB 3.1.1 PAI for preventing downgrade attacks
    - **Automatic Detection**: Encryption automatically enabled when servers require it
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 09:24:52 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/Smb2EncryptionContext.java

            saltBuffer.putInt(rotationCount); // Rotation counter
            saltBuffer.putInt((int) (System.currentTimeMillis() / 1000)); // Timestamp for additional uniqueness
    
            // Derive new keys using SMB3 KDF with rotation-specific input
            final int dialectInt = dialect.getDialect();
            final byte[] newEncryptionKey = Smb3KeyDerivation.deriveEncryptionKey(dialectInt, modifiedSessionKey, preauthIntegrityHash);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 35.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbTransportImpl.java

            } else {
                throw new SmbUnsupportedOperationException("SMB3 required for encryption, negotiated: " + dialect);
            }
    
            try {
                // Derive encryption and decryption keys using SMB3 KDF
                final int dialectInt = dialect.getDialect();
                final byte[] encryptionKey = Smb3KeyDerivation.deriveEncryptionKey(dialectInt, sessionKey, preauthHash);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 69.8K bytes
    - Viewed (0)
  7. lib/fips140/v1.0.0.zip

    for use in XAES-256-GCM (https://c2sp.org/XAES-256-GCM), // rather than for exposing it to applications as a stand-alone KDF. type CounterKDF struct { mac CMAC } // NewCounterKDF creates a new CounterKDF with the given key. func NewCounterKDF(b *aes.Block) *CounterKDF { return &CounterKDF{mac: *NewCMAC(b)} } // DeriveKey derives a key from the given label and context. func (kdf *CounterKDF) DeriveKey(label byte, context [12]byte) [32]byte { fips140.RecordApproved() var output [32]byte var input [aes.BlockSize]byte...
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Jan 29 15:10:35 UTC 2025
    - 635K bytes
    - Viewed (0)
Back to top