Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for _goboringcrypto_RSA_generate_key_fips (0.3 sec)

  1. src/crypto/internal/boring/goboringcrypto.h

    void _goboringcrypto_RSA_get0_crt_params(const GO_RSA*, const GO_BIGNUM **dmp1, const GO_BIGNUM **dmp2, const GO_BIGNUM **iqmp);
    int _goboringcrypto_RSA_generate_key_ex(GO_RSA*, int, const GO_BIGNUM*, GO_BN_GENCB*);
    int _goboringcrypto_RSA_generate_key_fips(GO_RSA*, int, GO_BN_GENCB*);
    enum {
    	GO_RSA_PKCS1_PADDING = 1,
    	GO_RSA_NO_PADDING = 3,
    	GO_RSA_PKCS1_OAEP_PADDING = 4,
    	GO_RSA_PKCS1_PSS_PADDING = 6,
    };
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 26 22:52:27 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  2. src/crypto/internal/boring/rsa.go

    		return nil, nil, nil, nil, nil, nil, nil, nil, e
    	}
    
    	key := C._goboringcrypto_RSA_new()
    	if key == nil {
    		return bad(fail("RSA_new"))
    	}
    	defer C._goboringcrypto_RSA_free(key)
    
    	if C._goboringcrypto_RSA_generate_key_fips(key, C.int(bits), nil) == 0 {
    		return bad(fail("RSA_generate_key_fips"))
    	}
    
    	var n, e, d, p, q, dp, dq, qinv *C.GO_BIGNUM
    	C._goboringcrypto_RSA_get0_key(key, &n, &e, &d)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 23:38:03 UTC 2024
    - 12K bytes
    - Viewed (0)
Back to top