Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for _goboringcrypto_FIPS_mode (0.19 sec)

  1. src/crypto/internal/boring/boring.go

    	_ "crypto/internal/boring/syso"
    	"internal/stringslite"
    	"math/bits"
    	"unsafe"
    )
    
    const available = true
    
    func init() {
    	C._goboringcrypto_BORINGSSL_bcm_power_on_self_test()
    	if C._goboringcrypto_FIPS_mode() != 1 {
    		panic("boringcrypto: not in FIPS mode")
    	}
    	sig.BoringCrypto()
    }
    
    // Unreachable marks code that should be unreachable
    // when BoringCrypto is in use. It panics.
    func Unreachable() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 06 14:00:54 UTC 2024
    - 3K bytes
    - Viewed (0)
  2. src/crypto/internal/boring/goboringcrypto.h

    // once explicitly and once as a constructor, but that's OK.)
    /*unchecked*/ void _goboringcrypto_BORINGSSL_bcm_power_on_self_test(void);
    
    // #include <openssl/crypto.h>
    int _goboringcrypto_FIPS_mode(void);
    void* _goboringcrypto_OPENSSL_malloc(size_t);
    
    // #include <openssl/rand.h>
    int _goboringcrypto_RAND_bytes(uint8_t*, size_t);
    
    // #include <openssl/nid.h>
    enum {
    	GO_NID_md5_sha1 = 114,
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 26 22:52:27 UTC 2024
    - 14.1K bytes
    - Viewed (0)
Back to top