Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 162 for birini (0.12 sec)

  1. src/crypto/sha512/sha512.go

    func Sum512(data []byte) [Size]byte {
    	if boring.Enabled {
    		return boring.SHA512(data)
    	}
    	d := digest{function: crypto.SHA512}
    	d.Reset()
    	d.Write(data)
    	return d.checkSum()
    }
    
    // Sum384 returns the SHA384 checksum of the data.
    func Sum384(data []byte) [Size384]byte {
    	if boring.Enabled {
    		return boring.SHA384(data)
    	}
    	d := digest{function: crypto.SHA384}
    	d.Reset()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 16:50:58 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  2. src/crypto/ecdh/ecdh.go

    // with [crypto/x509.MarshalPKIXPublicKey]. For NIST curves, they then need to
    // be converted with [crypto/ecdsa.PublicKey.ECDH] after parsing.
    type PublicKey struct {
    	curve     Curve
    	publicKey []byte
    	boring    *boring.PublicKeyECDH
    }
    
    // Bytes returns a copy of the encoding of the public key.
    func (k *PublicKey) Bytes() []byte {
    	// Copy the public key to a fixed size buffer that can get allocated on the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 17:09:47 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  3. src/runtime/runtime_boring.go

    import _ "unsafe" // for go:linkname
    
    //go:linkname boring_runtime_arg0 crypto/internal/boring.runtime_arg0
    func boring_runtime_arg0() string {
    	// On Windows, argslice is not set, and it's too much work to find argv0.
    	if len(argslice) == 0 {
    		return ""
    	}
    	return argslice[0]
    }
    
    //go:linkname fipstls_runtime_arg0 crypto/internal/boring/fipstls.runtime_arg0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 06 06:03:36 UTC 2017
    - 606 bytes
    - Viewed (0)
  4. src/crypto/internal/boring/fipstls/tls.go

    func Force() {
    	required.Store(true)
    }
    
    // Abandon allows non-FIPS-approved settings.
    // If called from a non-test binary, it panics.
    func Abandon() {
    	// Note: Not using boring.UnreachableExceptTests because we want
    	// this test to happen even when boring.Enabled = false.
    	name := runtime_arg0()
    	// Allow _test for Go command, .test for Bazel,
    	// NaClMain for NaCl (where all binaries run as NaClMain),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 06 14:00:54 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  5. src/crypto/ecdsa/notboring.go

    // license that can be found in the LICENSE file.
    
    //go:build !boringcrypto
    
    package ecdsa
    
    import "crypto/internal/boring"
    
    func boringPublicKey(*PublicKey) (*boring.PublicKeyECDSA, error) {
    	panic("boringcrypto: not available")
    }
    func boringPrivateKey(*PrivateKey) (*boring.PrivateKeyECDSA, error) {
    	panic("boringcrypto: not available")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 29 14:23:22 UTC 2022
    - 451 bytes
    - Viewed (0)
  6. src/crypto/aes/cipher.go

    // AES-128, AES-192, or AES-256.
    func NewCipher(key []byte) (cipher.Block, error) {
    	k := len(key)
    	switch k {
    	default:
    		return nil, KeySizeError(k)
    	case 16, 24, 32:
    		break
    	}
    	if boring.Enabled {
    		return boring.NewAESCipher(key)
    	}
    	return newCipher(key)
    }
    
    // newCipherGeneric creates and returns a new cipher.Block
    // implemented in pure Go.
    func newCipherGeneric(key []byte) (cipher.Block, error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 14:58:19 UTC 2024
    - 2K bytes
    - Viewed (0)
  7. docs/tr/docs/alternatives.md

    Üstelik Mozilla, Red Hat ve Eventbrite gibi pek çok şirket tarafından kullanılıyor.
    
    **Otomatik API dökümantasyonu**nun ilk örneklerinden biri olduğu için, **FastAPI** arayışına ilham veren ilk fikirlerden biri oldu.
    
    !!! note "Not"
        Django REST Framework'ü, aynı zamanda **FastAPI**'ın dayandığı Starlette ve Uvicorn'un da yaratıcısı olan Tom Christie tarafından geliştirildi.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Mar 22 01:42:11 UTC 2024
    - 28.8K bytes
    - Viewed (0)
  8. src/crypto/rsa/rsa.go

    	k := pub.Size()
    	if len(msg) > k-2*hash.Size()-2 {
    		return nil, ErrMessageTooLong
    	}
    
    	if boring.Enabled && random == boring.RandReader {
    		bkey, err := boringPublicKey(pub)
    		if err != nil {
    			return nil, err
    		}
    		return boring.EncryptRSAOAEP(hash, hash, bkey, msg, label)
    	}
    	boring.UnreachableExceptTests()
    
    	hash.Write(label)
    	lHash := hash.Sum(nil)
    	hash.Reset()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:11:18 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  9. src/crypto/internal/boring/build.sh

    #!/bin/bash
    # Copyright 2022 The Go Authors. All rights reserved.
    # Use of this source code is governed by a BSD-style
    # license that can be found in the LICENSE file.
    
    # This shell script uses Docker to run build-boring.sh and build-goboring.sh,
    # which build goboringcrypto_linux_$GOARCH.syso according to the Security Policy.
    # Currently, amd64 and arm64 are permitted.
    
    set -e
    set -o pipefail
    
    GOARCH=${GOARCH:-$(go env GOARCH)}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 26 22:52:27 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  10. src/crypto/ecdsa/ecdsa.go

    	randutil.MaybeReadByte(rand)
    
    	if boring.Enabled && rand == boring.RandReader {
    		x, y, d, err := boring.GenerateKeyECDSA(c.Params().Name)
    		if err != nil {
    			return nil, err
    		}
    		return &PrivateKey{PublicKey: PublicKey{Curve: c, X: bbig.Dec(x), Y: bbig.Dec(y)}, D: bbig.Dec(d)}, nil
    	}
    	boring.UnreachableExceptTests()
    
    	switch c.Params() {
    	case elliptic.P224().Params():
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:11:18 UTC 2024
    - 20.4K bytes
    - Viewed (0)
Back to top