Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Smb3KeyDerivation (0.18 sec)

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

    import org.bouncycastle.crypto.macs.HMac;
    import org.bouncycastle.crypto.params.KDFCounterParameters;
    
    
    /**
     * SMB3 SP800-108 Counter Mode Key Derivation
     * 
     * @author mbechler
     *
     */
    final class Smb3KeyDerivation {
    
        private static final byte[] SIGNCONTEXT_300 = toCBytes("SmbSign");
        private static final byte[] SIGNLABEL_300 = toCBytes("SMB2AESCMAC");
        private static final byte[] SIGNLABEL_311 = toCBytes("SMBSigningKey");
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 5.7K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/Smb2SigningDigest.java

                m = Mac.getInstance("HmacSHA256");
                signingKey = sessionKey;
                break;
            case Smb2Constants.SMB2_DIALECT_0300:
            case Smb2Constants.SMB2_DIALECT_0302:
                signingKey = Smb3KeyDerivation.deriveSigningKey(dialect, sessionKey, new byte[0] /* unimplemented */);
                m = Mac.getInstance("AESCMAC", Crypto.getProvider());
                break;
            case Smb2Constants.SMB2_DIALECT_0311:
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Aug 17 17:34:29 UTC 2021
    - 4.9K bytes
    - Viewed (0)
Back to top