Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for fired (0.01 sec)

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

         */
        public byte[] generateNonce() {
            final byte[] nonce = new byte[isGCMCipher() ? 16 : 12];
    
            if (isGCMCipher()) {
                // SMB 3.1.1 GCM: 96-bit random/fixed + 32-bit counter for guaranteed uniqueness
                // Fill first 12 bytes with random data
                secureRandom.nextBytes(nonce);
    
                // Last 4 bytes: incrementing counter for guaranteed uniqueness
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 35.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/CriticalPerformanceTest.java

            CountDownLatch startLatch = new CountDownLatch(1);
            CountDownLatch endLatch = new CountDownLatch(threadCount);
    
            // Use AtomicLong to simulate the fixed bytesEncrypted field
            AtomicLong mockBytesEncrypted = new AtomicLong(0);
            AtomicLong totalTime = new AtomicLong(0);
            AtomicInteger operations = new AtomicInteger(0);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseInputValidationTest.java

         */
        private byte[] createValidNegotiateResponseBuffer() {
            byte[] buffer = createBasicNegotiateResponseBuffer();
    
            // Add a small security buffer at a safe offset (after the fixed structure)
            SMBUtil.writeInt2(64, buffer, 56); // Security buffer offset (relative to header start)
            SMBUtil.writeInt2(8, buffer, 58); // Security buffer length
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.8K bytes
    - Viewed (0)
Back to top