Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for getHmac (0.17 sec)

  1. src/main/java/jcifs/pac/kerberos/KerberosEncData.java

            byte[] code = new byte[4];
            Encdec.enc_uint32le(2, code, 0);
            byte[] codeHmac = getHmac(code, key.getEncoded());
    
            byte[] dataChecksum = new byte[KerberosConstants.CHECKSUM_SIZE];
            System.arraycopy(data, 0, dataChecksum, 0, KerberosConstants.CHECKSUM_SIZE);
    
            byte[] dataHmac = getHmac(dataChecksum, codeHmac);
            SecretKeySpec dataKey = new SecretKeySpec(dataHmac, KerberosConstants.RC4_ALGORITHM);
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Mon Oct 02 12:02:06 UTC 2023
    - 11.4K bytes
    - Viewed (0)
  2. src/net/net_windows_test.go

    		}
    	}
    }
    
    // check that getmac exists as a powershell command, and that it
    // speaks English.
    func checkGetmac(t *testing.T) {
    	out, err := runCmd("getmac", "/?")
    	if err != nil {
    		if strings.Contains(err.Error(), "term 'getmac' is not recognized as the name of a cmdlet") {
    			t.Skipf("getmac not available")
    		}
    		t.Fatal(err)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/transforms/prepare_quantize_helper.h

                  quant::DownCastScale(qtype, calibrated_type.getMin(),
                                       calibrated_type.getMax(), op.getLoc()));
            }
          } else if (tensor_property.number_of_bits == 16) {
            double max = std::max(std::abs(calibrated_type.getMin()),
                                  std::abs(calibrated_type.getMax()));
            qtype = quantfork::fakeQuantAttrsToType(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 18:01:23 UTC 2024
    - 28K bytes
    - Viewed (0)
  4. src/cmd/go/internal/cache/cache.go

    		return nil, entry, &entryNotFoundError{Err: errors.New("bad checksum")}
    	}
    	return data, entry, nil
    }
    
    // GetMmap looks up the action ID in the cache and returns
    // the corresponding output bytes.
    // GetMmap should only be used for data that can be expected to fit in memory.
    func GetMmap(c Cache, id ActionID) ([]byte, Entry, error) {
    	entry, err := c.Get(id)
    	if err != nil {
    		return nil, entry, err
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Mar 09 14:19:39 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  5. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/api/provider/AbstractPropertyLanguageInterOpIntegrationTest.groovy

                            Map<Integer, Boolean> map = new LinkedHashMap<>();
                            map.put(1, true);
                            map.put(2, false);
                            t.getMap().set(map);
                        });
                    }
                }
            """
    
            buildFile << """
                apply plugin: SomeOtherPlugin
                apply plugin: SomePlugin
            """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 9.8K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/inspect/ManagedModelInitializerTest.groovy

            - A managed type (annotated with @Managed)""")
        }
    
        @Managed
        interface ManagedWithInvalidModelMap {
            ModelMap<FileInputStream> getMap()
        }
    
        @Managed
        interface ManagedWithUnsupportedType {
            FileInputStream getStream()
        }
    
        def "should fail with a contextual exception for scalar collection properties"() {
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 12.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/Kerb5Context.java

         *
         * @see jcifs.smb.SSPContext#calculateMIC(byte[])
         */
        @Override
        public byte[] calculateMIC ( byte[] data ) throws CIFSException {
            try {
                return this.gssContext.getMIC(data, 0, data.length, new MessageProp(false));
            }
            catch ( GSSException e ) {
                throw new CIFSException("Failed to calculate MIC", e);
            }
        }
    
    
        /**
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Thu Aug 02 08:22:42 UTC 2018
    - 13.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/tests/PACTest.java

                Assert.assertEquals(1, ed.getUserAuthorizations().size());
    
                KerberosPacAuthData pacData = (KerberosPacAuthData) ed.getUserAuthorizations().get(0);
                Pac pac = pacData.getPac();
                PacLogonInfo li = pac.getLogonInfo();
                Assert.assertEquals("test1", li.getUserName());
            } finally {
                Files.deleteIfExists(p);
                Files.deleteIfExists(krbConfig);
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Oct 01 12:01:17 UTC 2023
    - 22.3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/ntlmssp/Type3Message.java

            this.sessionKey = sessionKey;
        }
    
    
        /**
         * @return A <code>byte[]</code> containing the message integrity code.
         */
        public byte[] getMic () {
            return this.mic;
        }
    
    
        /**
         * @param mic
         *            NTLM mic to set (16 bytes)
         */
        public void setMic ( byte[] mic ) {
            this.mic = mic;
        }
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Tue Jul 07 12:07:20 UTC 2020
    - 30.6K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/cel/common/values.go

    	unstructuredList
    	escapedKeyProps []string
    
    	sync.Once // for for lazy load of mapOfList since it is only needed if Equals is called
    	mapOfList map[interface{}]interface{}
    }
    
    func (t *unstructuredMapList) getMap() map[interface{}]interface{} {
    	t.Do(func() {
    		t.mapOfList = make(map[interface{}]interface{}, len(t.elements))
    		for _, e := range t.elements {
    			t.mapOfList[t.toMapKey(e)] = e
    		}
    	})
    	return t.mapOfList
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 23 22:30:17 UTC 2023
    - 20.5K bytes
    - Viewed (0)
Back to top