Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 34 for uint16_t (0.19 sec)

  1. src/crypto/internal/hpke/hpke.go

    type dhKEM struct {
    	dh  ecdh.Curve
    	kdf hkdfKDF
    
    	suiteID []byte
    	nSecret uint16
    }
    
    var SupportedKEMs = map[uint16]struct {
    	curve   ecdh.Curve
    	hash    crypto.Hash
    	nSecret uint16
    }{
    	// RFC 9180 Section 7.1
    	0x0020: {ecdh.X25519(), crypto.SHA256, 32},
    }
    
    func newDHKem(kemID uint16) (*dhKEM, error) {
    	suite, ok := SupportedKEMs[kemID]
    	if !ok {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:33:33 UTC 2024
    - 7K bytes
    - Viewed (0)
  2. src/crypto/internal/hpke/hpke_test.go

    			}
    			t.Cleanup(func() { testingOnlyGenerateKey = nil })
    
    			encap, context, err := SetupSender(
    				uint16(kemID),
    				uint16(kdfID),
    				uint16(aeadID),
    				pub,
    				info,
    			)
    			if err != nil {
    				t.Fatal(err)
    			}
    
    			expectedEncap := mustDecodeHex(t, setup["enc"])
    			if !bytes.Equal(encap, expectedEncap) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:33:33 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/experimental/tac/execution_metadata_exporter.cc

    flatbuffers::Offset<tflite::HardwareMetadata>
    CreateHardwareMetadataAndPopulateLookupTable(
        std::vector<mlir::func::FuncOp>* funcs,
        flatbuffers::FlatBufferBuilder* builder,
        std::map<std::string, uint8_t>* hardware_names) {
      uint8_t index = 0;
      for (auto& func : *funcs) {
        func.walk([&hardware_names, &index](mlir::Operation* op) {
          auto device_name = GetDeviceName(op);
          if (!device_name.has_value()) return;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 06:11:34 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  4. src/crypto/tls/defaults.go

    	PKCS1WithSHA1,
    	ECDSAWithSHA1,
    }
    
    var tlsrsakex = godebug.New("tlsrsakex")
    var tls3des = godebug.New("tls3des")
    
    func defaultCipherSuites() []uint16 {
    	suites := slices.Clone(cipherSuitesPreferenceOrder)
    	return slices.DeleteFunc(suites, func(c uint16) bool {
    		return disabledCipherSuites[c] ||
    			tlsrsakex.Value() != "1" && rsaKexCiphers[c] ||
    			tls3des.Value() != "1" && tdesCiphers[c]
    	})
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  5. src/crypto/tls/ech.go

    	"strings"
    
    	"golang.org/x/crypto/cryptobyte"
    )
    
    type echCipher struct {
    	KDFID  uint16
    	AEADID uint16
    }
    
    type echExtension struct {
    	Type uint16
    	Data []byte
    }
    
    type echConfig struct {
    	raw []byte
    
    	Version uint16
    	Length  uint16
    
    	ConfigID             uint8
    	KemID                uint16
    	PublicKey            []byte
    	SymmetricCipherSuite []echCipher
    
    	MaxNameLength uint8
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/flatbuffer_to_string.cc

                   const flatbuffers::TypeTable* /*type_table*/,
                   const uint8_t* /*val*/) override {
        if (i) s += ", ";
      }
    };
    
    void ToString(const std::string& serialized_model) {
      IndentedToStringVisitor visitor(/*delimiter=*/"\n", /*indent=*/"  ");
      IterateFlatBuffer(reinterpret_cast<const uint8_t*>(serialized_model.c_str()),
                        ModelTypeTable(), &visitor);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 15:52:23 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  7. src/syscall/dir_plan9.go

    	Vers uint32 // version number for given Path
    	Type uint8  // the type of the file (syscall.QTDIR for example)
    }
    
    // A Dir contains the metadata for a file.
    type Dir struct {
    	// system-modified data
    	Type uint16 // server type
    	Dev  uint32 // server subtype
    
    	// file data
    	Qid    Qid    // unique id from server
    	Mode   uint32 // permissions
    	Atime  uint32 // last read time
    	Mtime  uint32 // last write time
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 19:32:38 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  8. src/reflect/iter.go

    	case Int32:
    		return rangeNum[int32](v.Int())
    	case Int64:
    		return rangeNum[int64](v.Int())
    	case Uint:
    		return rangeNum[uint](v.Uint())
    	case Uint8:
    		return rangeNum[uint8](v.Uint())
    	case Uint16:
    		return rangeNum[uint16](v.Uint())
    	case Uint32:
    		return rangeNum[uint32](v.Uint())
    	case Uint64:
    		return rangeNum[uint64](v.Uint())
    	case Uintptr:
    		return rangeNum[uintptr](v.Uint())
    	case Pointer:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 13:40:11 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  9. pilot/pkg/bootstrap/options.go

    	if err != nil {
    		return err
    	}
    	p.ServerOptions.TLSOptions.CipherSuits = cipherSuits
    	return nil
    }
    
    func allCiphers() map[string]uint16 {
    	acceptedCiphers := make(map[string]uint16, len(tls.CipherSuites())+len(tls.InsecureCipherSuites()))
    	for _, cipher := range tls.InsecureCipherSuites() {
    		acceptedCiphers[cipher.Name] = cipher.ID
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 17:48:28 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  10. istioctl/pkg/writer/ztunnel/configdump/api.go

    	DestinationIps      []string      `json:"destinationIps,omitempty"`
    	NotDestinationIps   []string      `json:"notDestinationIps,omitempty"`
    	DestinationPorts    []uint16      `json:"destinationPorts,omitempty"`
    	NotDestinationPorts []uint16      `json:"notDestinationPorts,omitempty"`
    }
    
    type StringMatch struct {
    	Exact    string `json:"Exact,omitempty"`
    	Suffix   string `json:"Suffix,omitempty"`
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 16:51:29 UTC 2024
    - 5.5K bytes
    - Viewed (0)
Back to top