Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for _goboringcrypto_EVP_PKEY_new (0.23 sec)

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

    int _goboringcrypto_RSA_private_key_to_bytes(uint8_t**, size_t*, const GO_RSA*);
    
    // #include <openssl/evp.h>
    /*unchecked (opaque)*/ typedef struct GO_EVP_PKEY { char data[1]; } GO_EVP_PKEY;
    GO_EVP_PKEY* _goboringcrypto_EVP_PKEY_new(void);
    void _goboringcrypto_EVP_PKEY_free(GO_EVP_PKEY*);
    int _goboringcrypto_EVP_PKEY_set1_RSA(GO_EVP_PKEY*, GO_RSA*);
    
    /*unchecked (opaque)*/ typedef struct GO_EVP_PKEY_CTX { char data[1]; } GO_EVP_PKEY_CTX;
    
    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

    				C._goboringcrypto_EVP_PKEY_free(pkey)
    				pkey = nil
    			}
    			if ctx != nil {
    				C._goboringcrypto_EVP_PKEY_CTX_free(ctx)
    				ctx = nil
    			}
    		}
    	}()
    
    	pkey = C._goboringcrypto_EVP_PKEY_new()
    	if pkey == nil {
    		return pkey, ctx, fail("EVP_PKEY_new")
    	}
    	if withKey(func(key *C.GO_RSA) C.int {
    		return C._goboringcrypto_EVP_PKEY_set1_RSA(pkey, key)
    	}) == 0 {
    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