Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for engineUpdate (0.55 sec)

  1. src/test/java/jcifs/smb1/util/HMACT64Test.java

        void testEngineUpdateByte() {
            // Test engineUpdate(byte b)
            HMACT64 hmac = new HMACT64(TEST_KEY);
            hmac.engineUpdate((byte) 0x01);
            // No exception means success
        }
    
        @Test
        void testEngineUpdateByteArray() {
            // Test engineUpdate(byte[] input, int offset, int len)
            HMACT64 hmac = new HMACT64(TEST_KEY);
            hmac.engineUpdate(TEST_DATA, 0, TEST_DATA.length);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/util/HMACT64Test.java

        }
    
        @Test
        void testEngineUpdateByte() throws NoSuchAlgorithmException {
            // Test engineUpdate(byte b)
            try (MockedStatic<Crypto> mockedCrypto = mockStatic(Crypto.class)) {
                mockedCrypto.when(Crypto::getMD5).thenReturn(mockMd5);
                HMACT64 hmac = new HMACT64(TEST_KEY);
                hmac.engineUpdate((byte) 0x01);
                verify(mockMd5, times(1)).update((byte) 0x01);
            }
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/util/HMACT64.java

        @Override
        protected void engineReset() {
            md5.reset();
            md5.update(ipad);
        }
    
        @Override
        protected void engineUpdate(final byte b) {
            md5.update(b);
        }
    
        @Override
        protected void engineUpdate(final byte[] input, final int offset, final int len) {
            md5.update(input, offset, len);
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/util/HMACT64.java

        protected void engineReset() {
            this.md5.reset();
            this.md5.update(this.ipad);
        }
    
        @Override
        protected void engineUpdate(final byte b) {
            this.md5.update(b);
        }
    
        @Override
        protected void engineUpdate(final byte[] input, final int offset, final int len) {
            this.md5.update(input, offset, len);
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/util/MD4.java

                buffer[i] = 0;
            }
        }
    
        /**
         * Continues an MD4 message digest using the input byte.
         */
        @Override
        public void engineUpdate(final byte b) {
            // compute number of bytes still unhashed; ie. present in buffer
            final int i = (int) (count % BLOCK_LENGTH);
            count++; // update number of bytes
            buffer[i] = b;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 9.6K bytes
    - Viewed (0)
Back to top