/external/boringssl/src/crypto/x509/ |
D | x509spki.c | 92 if (!(spki_der = OPENSSL_malloc(spki_len))) { in NETSCAPE_SPKI_b64_decode() 121 der_spki = OPENSSL_malloc(der_len); in NETSCAPE_SPKI_b64_encode() 126 b64_str = OPENSSL_malloc(b64_len); in NETSCAPE_SPKI_b64_encode()
|
D | by_dir.c | 148 if ((a = (BY_DIR *)OPENSSL_malloc(sizeof(BY_DIR))) == NULL) in new_dir() 229 ent = OPENSSL_malloc(sizeof(BY_DIR_ENTRY)); in add_cert_dir() 234 ent->dir = OPENSSL_malloc(len + 1); in add_cert_dir() 415 hent = OPENSSL_malloc(sizeof(BY_DIR_HASH)); in get_cert_by_subject()
|
D | x_info.c | 68 ret = (X509_INFO *)OPENSSL_malloc(sizeof(X509_INFO)); in X509_INFO_new()
|
D | x_pkey.c | 71 X509_PKEY *ret = OPENSSL_malloc(sizeof(X509_PKEY)); in X509_PKEY_new()
|
/external/boringssl/src/crypto/ |
D | mem.c | 105 void *OPENSSL_malloc(size_t size) { in OPENSSL_malloc() function 132 return OPENSSL_malloc(new_size); in OPENSSL_realloc() 140 void *ret = OPENSSL_malloc(new_size); in OPENSSL_realloc() 215 char *ret = OPENSSL_malloc(len); in OPENSSL_strdup()
|
/external/boringssl/src/crypto/pool/ |
D | pool.c | 43 CRYPTO_BUFFER_POOL *pool = OPENSSL_malloc(sizeof(CRYPTO_BUFFER_POOL)); in CRYPTO_BUFFER_POOL_new() 96 CRYPTO_BUFFER *const buf = OPENSSL_malloc(sizeof(CRYPTO_BUFFER)); in CRYPTO_BUFFER_new() 141 CRYPTO_BUFFER *const buf = OPENSSL_malloc(sizeof(CRYPTO_BUFFER)); in CRYPTO_BUFFER_alloc() 147 buf->data = OPENSSL_malloc(len); in CRYPTO_BUFFER_alloc()
|
/external/boringssl/src/crypto/asn1/ |
D | a_object.c | 82 if ((p = allocated = OPENSSL_malloc(objsize)) == NULL) { in i2d_ASN1_OBJECT() 115 p = OPENSSL_malloc(i + 1); in i2a_ASN1_OBJECT() 203 data = (unsigned char *)OPENSSL_malloc(length); in c2i_ASN1_OBJECT() 234 ret = (ASN1_OBJECT *)OPENSSL_malloc(sizeof(ASN1_OBJECT)); in ASN1_OBJECT_new()
|
D | tasn_new.c | 157 *pval = OPENSSL_malloc(it->size); in asn1_item_ex_combine_new() 182 *pval = OPENSSL_malloc(it->size); in asn1_item_ex_combine_new() 348 typ = OPENSSL_malloc(sizeof(ASN1_TYPE)); in ASN1_primitive_new()
|
D | a_bitstr.c | 169 s = (unsigned char *)OPENSSL_malloc((int)len); in c2i_ASN1_BIT_STRING() 218 c = (unsigned char *)OPENSSL_malloc(w + 1); in ASN1_BIT_STRING_set_bit()
|
/external/boringssl/src/crypto/buf/ |
D | buf.c | 70 ret = OPENSSL_malloc(sizeof(BUF_MEM)); in BUF_MEM_new() 184 ret = OPENSSL_malloc(alloc_size); in BUF_strndup() 223 void *ret = OPENSSL_malloc(size); in BUF_memdup()
|
/external/boringssl/src/include/openssl/ |
D | mem.h | 79 OPENSSL_EXPORT void *OPENSSL_malloc(size_t size); 135 #define CRYPTO_malloc OPENSSL_malloc
|
/external/boringssl/src/crypto/lhash/ |
D | lhash.c | 96 _LHASH *ret = OPENSSL_malloc(sizeof(_LHASH)); in lh_new() 103 ret->buckets = OPENSSL_malloc(sizeof(LHASH_ITEM *) * ret->num_buckets); in lh_new() 204 new_buckets = OPENSSL_malloc(alloc_size); in lh_rebucket() 275 item = OPENSSL_malloc(sizeof(LHASH_ITEM)); in lh_insert()
|
/external/iperf3/src/ |
D | iperf_auth.c | 219 rsa_buffer = OPENSSL_malloc(keysize * 2); in encrypt_rsa_message() 220 *encryptedtext = (unsigned char*)OPENSSL_malloc(keysize); in encrypt_rsa_message() 241 rsa_buffer = OPENSSL_malloc(keysize * 2); in decrypt_rsa_message() 242 *plaintext = (unsigned char*)OPENSSL_malloc(keysize); in decrypt_rsa_message()
|
/external/boringssl/src/crypto/fipsmodule/digest/ |
D | digest.c | 83 EVP_MD_CTX *ctx = OPENSSL_malloc(sizeof(EVP_MD_CTX)); in EVP_MD_CTX_new() 147 tmp_buf = OPENSSL_malloc(in->digest->ctx_size); in EVP_MD_CTX_copy_ex() 192 uint8_t *md_data = OPENSSL_malloc(type->ctx_size); in EVP_DigestInit_ex()
|
/external/boringssl/src/crypto/err/ |
D | err.c | 205 state = OPENSSL_malloc(sizeof(ERR_STATE)); in err_get_state() 673 buf = OPENSSL_malloc(alloced + 1); in err_add_error_vdata() 727 buf = OPENSSL_malloc(buf_len + 1); in ERR_add_error_dataf() 808 ERR_SAVE_STATE *ret = OPENSSL_malloc(sizeof(ERR_SAVE_STATE)); in ERR_save_state() 818 ret->errors = OPENSSL_malloc(num_errors * sizeof(struct err_error_st)); in ERR_save_state()
|
/external/boringssl/src/crypto/evp/ |
D | print.c | 155 m = (uint8_t *)OPENSSL_malloc(buf_len + 10); in do_rsa_print() 248 m = (uint8_t *)OPENSSL_malloc(buf_len + 10); in do_dsa_print() 326 pub_key_bytes = OPENSSL_malloc(pub_key_bytes_len); in do_EC_KEY_print() 353 if ((buffer = OPENSSL_malloc(buf_len)) == NULL) { in do_EC_KEY_print()
|
D | p_ed25519_asn1.c | 37 ED25519_KEY *key = OPENSSL_malloc(sizeof(ED25519_KEY)); in ed25519_set_priv_raw() 60 ED25519_KEY *key = OPENSSL_malloc(sizeof(ED25519_KEY)); in ed25519_set_pub_raw()
|
D | p_x25519_asn1.c | 38 X25519_KEY *key = OPENSSL_malloc(sizeof(X25519_KEY)); in x25519_set_priv_raw() 59 X25519_KEY *key = OPENSSL_malloc(sizeof(X25519_KEY)); in x25519_set_pub_raw()
|
/external/boringssl/src/crypto/fipsmodule/rsa/ |
D | rsa.c | 88 RSA *rsa = OPENSSL_malloc(sizeof(RSA)); in RSA_new_method() 484 signed_msg = OPENSSL_malloc(signed_msg_len); in RSA_add_pkcs1_prefix() 543 uint8_t *padded = OPENSSL_malloc(padded_len); in RSA_sign_pss_mgf1() 576 buf = OPENSSL_malloc(rsa_size); in RSA_verify() 618 uint8_t *em = OPENSSL_malloc(em_len); in RSA_verify_pss_mgf1() 841 uint8_t *sig = OPENSSL_malloc(sig_len); in RSA_check_fips()
|
D | padding.c | 359 uint8_t *dbmask = OPENSSL_malloc(emlen - mdlen); in RSA_padding_add_PKCS1_OAEP_mgf1() 413 db = OPENSSL_malloc(dblen); in RSA_padding_check_PKCS1_OAEP_mgf1() 539 DB = OPENSSL_malloc(maskedDBLen); in RSA_verify_PKCS1_PSS_mgf1() 640 salt = OPENSSL_malloc(sLen); in RSA_padding_add_PKCS1_PSS_mgf1()
|
/external/boringssl/src/crypto/x509v3/ |
D | v3_info.c | 137 ntmp = OPENSSL_malloc(nlen); 191 if (!(objtmp = OPENSSL_malloc(objlen + 1))) { in v2i_AUTHORITY_INFO_ACCESS()
|
/external/boringssl/src/crypto/bio/ |
D | pair.c | 87 b = OPENSSL_malloc(sizeof *b); in bio_new() 324 b1->buf = OPENSSL_malloc(b1->size); in bio_make_pair() 337 b2->buf = OPENSSL_malloc(b2->size); in bio_make_pair()
|
D | bio.c | 73 BIO *ret = OPENSSL_malloc(sizeof(BIO)); in BIO_new() 446 *out = OPENSSL_malloc(len); in bio_read_all() 602 *out = OPENSSL_malloc(len); in OPENSSL_DECLARE_ERROR_REASON() 635 BIO_METHOD *method = OPENSSL_malloc(sizeof(BIO_METHOD)); in BIO_meth_new()
|
/external/boringssl/src/crypto/pkcs7/ |
D | pkcs7_x509.c | 233 PKCS7 *ret = OPENSSL_malloc(sizeof(PKCS7)); in pkcs7_new() 239 ret->d.sign = OPENSSL_malloc(sizeof(PKCS7_SIGNED)); in pkcs7_new() 322 *out = OPENSSL_malloc(p7->ber_len); in i2d_PKCS7()
|
/external/boringssl/src/crypto/fipsmodule/ec/ |
D | ec_key.c | 88 EC_WRAPPED_SCALAR *wrapped = OPENSSL_malloc(sizeof(EC_WRAPPED_SCALAR)); in DEFINE_STATIC_EX_DATA_CLASS() 109 EC_KEY *ret = OPENSSL_malloc(sizeof(EC_KEY)); in EC_KEY_new_method() 409 uint8_t *buf = OPENSSL_malloc(len); in EC_KEY_key2buf()
|