Home
last modified time | relevance | path

Searched refs:OPENSSL_malloc (Results 1 - 25 of 572) sorted by relevance

12345678910>>...23

/third_party/node/deps/openssl/openssl/crypto/x509/
H A Dx509spki.c38 if ((spki_der = OPENSSL_malloc(len + 1)) == NULL) { in NETSCAPE_SPKI_b64_decode()
65 der_spki = OPENSSL_malloc(der_len); in NETSCAPE_SPKI_b64_encode()
66 b64_str = OPENSSL_malloc(der_len * 2); in NETSCAPE_SPKI_b64_encode()
/third_party/openssl/crypto/x509/
H A Dx509spki.c38 if ((spki_der = OPENSSL_malloc(len + 1)) == NULL) { in NETSCAPE_SPKI_b64_decode()
65 der_spki = OPENSSL_malloc(der_len); in NETSCAPE_SPKI_b64_encode()
66 b64_str = OPENSSL_malloc(der_len * 2); in NETSCAPE_SPKI_b64_encode()
/third_party/node/deps/openssl/openssl/crypto/pkcs12/
H A Dp12_utl.c27 if ((unitmp = OPENSSL_malloc(ulen)) == NULL) { in OPENSSL_asc2uni()
60 if ((asctmp = OPENSSL_malloc(asclen)) == NULL) { in OPENSSL_uni2asc()
122 if ((ret = OPENSSL_malloc(ulen)) == NULL) { in OPENSSL_utf82uni()
207 if ((asctmp = OPENSSL_malloc(asclen)) == NULL) { in OPENSSL_uni2utf8()
/third_party/openssl/crypto/pkcs12/
H A Dp12_utl.c27 if ((unitmp = OPENSSL_malloc(ulen)) == NULL) { in OPENSSL_asc2uni()
60 if ((asctmp = OPENSSL_malloc(asclen)) == NULL) { in OPENSSL_uni2asc()
122 if ((ret = OPENSSL_malloc(ulen)) == NULL) { in OPENSSL_utf82uni()
207 if ((asctmp = OPENSSL_malloc(asclen)) == NULL) { in OPENSSL_uni2utf8()
/third_party/node/deps/openssl/openssl/providers/implementations/kdfs/
H A Dpkcs12kdf.c73 D = OPENSSL_malloc(v); in pkcs12kdf_derive()
74 Ai = OPENSSL_malloc(u); in pkcs12kdf_derive()
75 B = OPENSSL_malloc(v + 1); in pkcs12kdf_derive()
82 I = OPENSSL_malloc(Ilen); in pkcs12kdf_derive()
189 if ((*buffer = OPENSSL_malloc(1)) == NULL) { in pkcs12kdf_set_membuf()
/third_party/openssl/providers/implementations/kdfs/
H A Dpkcs12kdf.c73 D = OPENSSL_malloc(v); in pkcs12kdf_derive()
74 Ai = OPENSSL_malloc(u); in pkcs12kdf_derive()
75 B = OPENSSL_malloc(v + 1); in pkcs12kdf_derive()
82 I = OPENSSL_malloc(Ilen); in pkcs12kdf_derive()
189 if ((*buffer = OPENSSL_malloc(1)) == NULL) { in pkcs12kdf_set_membuf()
/third_party/node/deps/openssl/openssl/crypto/ec/
H A Dec_print.c30 ret = OPENSSL_malloc(buf_len * 2 + 2); in EC_POINT_point2hex()
69 oct_buf = OPENSSL_malloc(len); in EC_POINT_hex2point()
/third_party/node/deps/openssl/openssl/crypto/rsa/
H A Drsa_saos.c42 s = OPENSSL_malloc((unsigned int)j + 1); in RSA_sign_ASN1_OCTET_STRING()
74 s = OPENSSL_malloc((unsigned int)siglen); in RSA_verify_ASN1_OCTET_STRING()
/third_party/openssl/crypto/ec/
H A Dec_print.c30 ret = OPENSSL_malloc(buf_len * 2 + 2); in EC_POINT_point2hex()
69 oct_buf = OPENSSL_malloc(len); in EC_POINT_hex2point()
/third_party/openssl/crypto/rsa/
H A Drsa_saos.c42 s = OPENSSL_malloc((unsigned int)j + 1); in RSA_sign_ASN1_OCTET_STRING()
74 s = OPENSSL_malloc((unsigned int)siglen); in RSA_verify_ASN1_OCTET_STRING()
/third_party/node/deps/openssl/openssl/crypto/asn1/
H A Da_object.c34 if ((p = allocated = OPENSSL_malloc(objsize)) == NULL) { in i2d_ASN1_OBJECT()
137 tmp = OPENSSL_malloc(tmpsize); in a2d_ASN1_OBJECT()
199 if ((p = OPENSSL_malloc(i + 1)) == NULL) { in i2a_ASN1_OBJECT()
310 data = OPENSSL_malloc(length); in ossl_c2i_ASN1_OBJECT()
/third_party/node/deps/openssl/openssl/crypto/txt_db/
H A Dtxt_db.c36 if ((ret = OPENSSL_malloc(sizeof(*ret))) == NULL) in TXT_DB_read()
43 if ((ret->index = OPENSSL_malloc(sizeof(*ret->index) * num)) == NULL) in TXT_DB_read()
45 if ((ret->qual = OPENSSL_malloc(sizeof(*(ret->qual)) * num)) == NULL) in TXT_DB_read()
73 if ((p = OPENSSL_malloc(add + offset)) == NULL) in TXT_DB_read()
/third_party/node/deps/openssl/openssl/crypto/dso/
H A Ddso_dlfcn.c241 merged = OPENSSL_malloc(len + 2); in dlfcn_merger()
267 translated = OPENSSL_malloc(rsize); in dlfcn_name_converter()
345 if ((ldinfos = OPENSSL_malloc(DLFCN_LDINFO_SIZE)) == NULL) { in dladdr()
380 if ((buffer = OPENSSL_malloc(buffer_sz)) != NULL) { in dladdr()
/third_party/openssl/crypto/asn1/
H A Da_object.c34 if ((p = allocated = OPENSSL_malloc(objsize)) == NULL) { in i2d_ASN1_OBJECT()
137 tmp = OPENSSL_malloc(tmpsize); in a2d_ASN1_OBJECT()
199 if ((p = OPENSSL_malloc(i + 1)) == NULL) { in i2a_ASN1_OBJECT()
310 data = OPENSSL_malloc(length); in ossl_c2i_ASN1_OBJECT()
/third_party/openssl/crypto/txt_db/
H A Dtxt_db.c36 if ((ret = OPENSSL_malloc(sizeof(*ret))) == NULL) in TXT_DB_read()
43 if ((ret->index = OPENSSL_malloc(sizeof(*ret->index) * num)) == NULL) in TXT_DB_read()
45 if ((ret->qual = OPENSSL_malloc(sizeof(*(ret->qual)) * num)) == NULL) in TXT_DB_read()
73 if ((p = OPENSSL_malloc(add + offset)) == NULL) in TXT_DB_read()
/third_party/openssl/crypto/dso/
H A Ddso_dlfcn.c241 merged = OPENSSL_malloc(len + 2); in dlfcn_merger()
267 translated = OPENSSL_malloc(rsize); in dlfcn_name_converter()
345 if ((ldinfos = OPENSSL_malloc(DLFCN_LDINFO_SIZE)) == NULL) { in dladdr()
380 if ((buffer = OPENSSL_malloc(buffer_sz)) != NULL) { in dladdr()
/third_party/node/deps/openssl/openssl/crypto/bn/
H A Dbn_conv.c25 buf = OPENSSL_malloc(a->top * BN_BYTES * 2 + 2); in BN_bn2hex()
71 bn_data = OPENSSL_malloc(bn_data_num * sizeof(BN_ULONG)); in BN_bn2dec()
72 buf = OPENSSL_malloc(tbytes); in BN_bn2dec()
H A Dbn_intern.c31 r = OPENSSL_malloc(1); in bn_compute_wNAF()
60 r = OPENSSL_malloc(len + 1); /* in bn_compute_wNAF()
/third_party/openssl/crypto/bn/
H A Dbn_conv.c25 buf = OPENSSL_malloc(a->top * BN_BYTES * 2 + 2); in BN_bn2hex()
71 bn_data = OPENSSL_malloc(bn_data_num * sizeof(BN_ULONG)); in BN_bn2dec()
72 buf = OPENSSL_malloc(tbytes); in BN_bn2dec()
H A Dbn_intern.c31 r = OPENSSL_malloc(1); in bn_compute_wNAF()
60 r = OPENSSL_malloc(len + 1); /* in bn_compute_wNAF()
/third_party/node/deps/openssl/openssl/crypto/bio/
H A Dbf_buff.c52 ctx->ibuf = OPENSSL_malloc(DEFAULT_BUFFER_SIZE); in buffer_new()
58 ctx->obuf = OPENSSL_malloc(DEFAULT_BUFFER_SIZE); in buffer_new()
292 p1 = OPENSSL_malloc((size_t)num); in buffer_ctrl()
323 p1 = OPENSSL_malloc((size_t)num); in buffer_ctrl()
328 p2 = OPENSSL_malloc((size_t)num); in buffer_ctrl()
/third_party/openssl/crypto/bio/
H A Dbf_buff.c52 ctx->ibuf = OPENSSL_malloc(DEFAULT_BUFFER_SIZE); in buffer_new()
58 ctx->obuf = OPENSSL_malloc(DEFAULT_BUFFER_SIZE); in buffer_new()
292 p1 = OPENSSL_malloc((size_t)num); in buffer_ctrl()
323 p1 = OPENSSL_malloc((size_t)num); in buffer_ctrl()
328 p2 = OPENSSL_malloc((size_t)num); in buffer_ctrl()
/third_party/node/deps/openssl/openssl/crypto/srp/
H A Dsrp_vfy.c194 if ((ret = OPENSSL_malloc(sizeof(*ret))) == NULL) { in SRP_user_pwd_new()
280 SRP_VBASE *vb = OPENSSL_malloc(sizeof(*vb)); in SRP_VBASE_new()
316 SRP_gN_cache *newgN = OPENSSL_malloc(sizeof(*newgN)); in SRP_gN_new_init()
431 if ((gN = OPENSSL_malloc(sizeof(*gN))) == NULL) in SRP_VBASE_init()
668 if (((vf = OPENSSL_malloc(vfsize)) == NULL)) in SRP_create_verifier_ex()
676 if ((tmp_salt = OPENSSL_malloc(SRP_RANDOM_SALT_LEN * 2)) == NULL) { in SRP_create_verifier_ex()
/third_party/openssl/crypto/srp/
H A Dsrp_vfy.c194 if ((ret = OPENSSL_malloc(sizeof(*ret))) == NULL) { in SRP_user_pwd_new()
282 SRP_VBASE *vb = OPENSSL_malloc(sizeof(*vb)); in SRP_VBASE_new()
317 SRP_gN_cache *newgN = OPENSSL_malloc(sizeof(*newgN)); in SRP_gN_new_init()
432 if ((gN = OPENSSL_malloc(sizeof(*gN))) == NULL) in SRP_VBASE_init()
669 if (((vf = OPENSSL_malloc(vfsize)) == NULL)) in SRP_create_verifier_ex()
677 if ((tmp_salt = OPENSSL_malloc(SRP_RANDOM_SALT_LEN * 2)) == NULL) { in SRP_create_verifier_ex()
/third_party/rust/crates/rust-openssl/openssl-sys/src/
H A Dcrypto.rs63 pub unsafe fn OPENSSL_malloc(num: usize) -> *mut c_void { in OPENSSL_malloc() functions
74 pub unsafe fn OPENSSL_malloc(num: c_int) -> *mut c_void { in OPENSSL_malloc() functions

Completed in 14 milliseconds

12345678910>>...23