Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for _goboringcrypto_EC_KEY_free (0.48 sec)

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

    	R, S BigInt
    }
    
    type PrivateKeyECDSA struct {
    	key *C.GO_EC_KEY
    }
    
    func (k *PrivateKeyECDSA) finalize() {
    	C._goboringcrypto_EC_KEY_free(k.key)
    }
    
    type PublicKeyECDSA struct {
    	key *C.GO_EC_KEY
    }
    
    func (k *PublicKeyECDSA) finalize() {
    	C._goboringcrypto_EC_KEY_free(k.key)
    }
    
    var errUnknownCurve = errors.New("boringcrypto: unknown elliptic curve")
    
    func curveNID(curve string) (C.int, error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 20 17:51:31 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  2. src/crypto/internal/boring/ecdh.go

    		C._goboringcrypto_EC_KEY_free(key)
    		return nil, nil, fail("EC_KEY_generate_key_fips")
    	}
    
    	group := C._goboringcrypto_EC_KEY_get0_group(key)
    	if group == nil {
    		C._goboringcrypto_EC_KEY_free(key)
    		return nil, nil, fail("EC_KEY_get0_group")
    	}
    	b := C._goboringcrypto_EC_KEY_get0_private_key(key)
    	if b == nil {
    		C._goboringcrypto_EC_KEY_free(key)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 20 17:51:31 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  3. src/crypto/internal/boring/goboringcrypto.h

    // #include <openssl/ec_key.h>
    /*unchecked (opaque)*/ typedef struct GO_EC_KEY { char data[1]; } GO_EC_KEY;
    GO_EC_KEY* _goboringcrypto_EC_KEY_new(void);
    GO_EC_KEY* _goboringcrypto_EC_KEY_new_by_curve_name(int);
    void _goboringcrypto_EC_KEY_free(GO_EC_KEY*);
    const GO_EC_GROUP* _goboringcrypto_EC_KEY_get0_group(const GO_EC_KEY*);
    int _goboringcrypto_EC_KEY_generate_key_fips(GO_EC_KEY*);
    int _goboringcrypto_EC_KEY_set_private_key(GO_EC_KEY*, const GO_BIGNUM*);
    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