Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for OPENSSL_malloc (0.09 sec)

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

    		}
    		// ctx takes ownership of label, so malloc a copy for BoringCrypto to free.
    		clabel := (*C.uint8_t)(C._goboringcrypto_OPENSSL_malloc(C.size_t(len(label))))
    		if clabel == nil {
    			return pkey, ctx, fail("OPENSSL_malloc")
    		}
    		copy((*[1 << 30]byte)(unsafe.Pointer(clabel))[:len(label)], label)
    		if C._goboringcrypto_EVP_PKEY_CTX_set0_rsa_oaep_label(ctx, clabel, C.size_t(len(label))) == 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