Searched refs:OPENSSL_malloc (Results 126 - 150 of 247) sorted by relevance

12345678910

/barrelfish-master/lib/openssl-1.0.0d/apps/
H A Dca.c578 tofree=OPENSSL_malloc(len);
582 tofree=OPENSSL_malloc(len);
2153 row[DB_type]=(char *)OPENSSL_malloc(2);
2156 row[DB_exp_date]=(char *)OPENSSL_malloc(tm->length+1);
2163 row[DB_file]=(char *)OPENSSL_malloc(8);
2176 if ((irow=(char **)OPENSSL_malloc(sizeof(char *)*(DB_NUMBER+1))) == NULL)
2419 row[DB_type]=(char *)OPENSSL_malloc(2);
2422 row[DB_exp_date]=(char *)OPENSSL_malloc(tm->length+1);
2429 row[DB_file]=(char *)OPENSSL_malloc(8);
2443 if ((irow=(char **)OPENSSL_malloc(sizeo
[all...]
H A Ddgst.c134 if ((buf=(unsigned char *)OPENSSL_malloc(BUFSIZE)) == NULL)
461 sigbuf = OPENSSL_malloc(siglen);
H A Decparam.c351 curves = OPENSSL_malloc((int)(sizeof(EC_builtin_curve) * crv_len));
489 perror("OPENSSL_malloc");
538 buffer = (unsigned char *)OPENSSL_malloc(buf_len);
542 perror("OPENSSL_malloc");
H A Ds_cb.c739 buffer = OPENSSL_malloc(length);
820 buffer = OPENSSL_malloc(length);
H A Ddh.c286 data=(unsigned char *)OPENSSL_malloc(len);
289 perror("OPENSSL_malloc");
/barrelfish-master/lib/openssl-1.0.0d/crypto/ec/
H A Dec_lib.c91 ret = OPENSSL_malloc(sizeof *ret);
230 dest->seed = OPENSSL_malloc(src->seed_len);
386 if ((group->seed = OPENSSL_malloc(len)) == NULL)
570 d = OPENSSL_malloc(sizeof *d);
708 ret = OPENSSL_malloc(sizeof *ret);
H A Dec_ameth.c119 penc = OPENSSL_malloc(penclen);
342 ep = (unsigned char *) OPENSSL_malloc(eplen);
477 if ((buffer = OPENSSL_malloc(buf_len)) == NULL)
H A Dec_asn1.c479 if ((buffer_1 = OPENSSL_malloc(len_1)) == NULL)
501 if ((buffer_2 = OPENSSL_malloc(len_2)) == NULL)
624 if ((buffer = OPENSSL_malloc(len)) == NULL)
914 if (!(ret->seed = OPENSSL_malloc(params->curve->seed->length)))
1234 buffer = OPENSSL_malloc(buf_len);
1411 if ((*out = OPENSSL_malloc(buf_len)) == NULL)
/barrelfish-master/lib/openssl-1.0.0d/ssl/
H A Ds3_enc.c247 else if ((s->enc_read_ctx=OPENSSL_malloc(sizeof(EVP_CIPHER_CTX))) == NULL)
272 OPENSSL_malloc(SSL3_RT_MAX_PLAIN_LENGTH);
284 else if ((s->enc_write_ctx=OPENSSL_malloc(sizeof(EVP_CIPHER_CTX))) == NULL)
422 if ((p=OPENSSL_malloc(num)) == NULL)
601 s->s3->handshake_dgst = OPENSSL_malloc(SSL_MAX_DIGEST * sizeof(EVP_MD_CTX *));
H A Dssl_sess.c192 ss=(SSL_SESSION *)OPENSSL_malloc(sizeof(SSL_SESSION));
382 if ((ss->tlsext_ecpointformatlist = OPENSSL_malloc(s->tlsext_ecpointformatlist_length)) == NULL)
394 if ((ss->tlsext_ellipticcurvelist = OPENSSL_malloc(s->tlsext_ellipticcurvelist_length)) == NULL)
766 s->kssl_ctx->client_princ = (char *)OPENSSL_malloc(session->krb5_client_princ_len + 1);
871 s->tlsext_session_ticket = OPENSSL_malloc(sizeof(TLS_SESSION_TICKET_EXT) + ext_len);
H A Dt1_enc.c366 else if ((s->enc_read_ctx=OPENSSL_malloc(sizeof(EVP_CIPHER_CTX))) == NULL)
389 OPENSSL_malloc(SSL3_RT_MAX_ENCRYPTED_LENGTH);
408 else if ((s->enc_write_ctx=OPENSSL_malloc(sizeof(EVP_CIPHER_CTX))) == NULL)
579 if ((p1=(unsigned char *)OPENSSL_malloc(num)) == NULL)
588 if ((p2=(unsigned char *)OPENSSL_malloc(num)) == NULL)
H A Dssl_cert.c167 ret=(CERT *)OPENSSL_malloc(sizeof(CERT));
186 ret = (CERT *)OPENSSL_malloc(sizeof(CERT));
418 ret = OPENSSL_malloc(sizeof *ret);
H A Dssl_ciph.c435 comp=(SSL_COMP *)OPENSSL_malloc(sizeof(SSL_COMP));
995 number_uses = OPENSSL_malloc((max_strength_bits + 1) * sizeof(int));
1308 co_list = (CIPHER_ORDER *)OPENSSL_malloc(sizeof(CIPHER_ORDER) * num_of_ciphers);
1372 ca_list = OPENSSL_malloc(sizeof(SSL_CIPHER *) * num_of_alias_max);
1606 buf=OPENSSL_malloc(len);
1607 if (buf == NULL) return("OPENSSL_malloc Error");
1712 comp=(SSL_COMP *)OPENSSL_malloc(sizeof(SSL_COMP));
/barrelfish-master/lib/openssl-1.0.0d/crypto/asn1/
H A Dtasn_enc.c113 buf = OPENSSL_malloc(len);
454 derlst = OPENSSL_malloc(sk_ASN1_VALUE_num(sk)
456 tmpdat = OPENSSL_malloc(skcontlen);
H A Dx_name.c135 ret = OPENSSL_malloc(sizeof(X509_NAME));
363 p = OPENSSL_malloc(a->canon_enclen);
H A Da_gentm.c243 p=OPENSSL_malloc(len);
H A Da_mbstr.c234 if(!(p = OPENSSL_malloc(outlen + 1))) {
H A Da_strnid.c225 tmp = OPENSSL_malloc(sizeof(ASN1_STRING_TABLE));
H A Da_utctm.c221 p=OPENSSL_malloc(len);
/barrelfish-master/lib/openssl-1.0.0d/crypto/bio/
H A Dbss_bio.c150 b = OPENSSL_malloc(sizeof *b);
723 b1->buf = OPENSSL_malloc(b1->size);
735 b2->buf = OPENSSL_malloc(b2->size);
H A Dbss_rtcp.c159 bi->ptr=OPENSSL_malloc(sizeof(struct rpc_ctx));
/barrelfish-master/lib/openssl-1.0.0d/crypto/x509v3/
H A Dv3_utl.c88 if(!(vtmp = (CONF_VALUE *)OPENSSL_malloc(sizeof(CONF_VALUE)))) goto err;
358 /* Given a buffer of length 'len' return a OPENSSL_malloc'ed string with its
370 if(!(tmp = OPENSSL_malloc(len * 3 + 1))) {
400 if(!(hexbuf = OPENSSL_malloc(strlen(str) >> 1))) goto err;
/barrelfish-master/lib/openssl-1.0.0d/crypto/
H A Dmem_dbg.c406 if ((ami = (APP_INFO *)OPENSSL_malloc(sizeof(APP_INFO))) == NULL)
498 if ((m=(MEM *)OPENSSL_malloc(sizeof(MEM))) == NULL)
/barrelfish-master/lib/openssl-1.0.0d/crypto/rsa/
H A Drsa_pmeth.c91 rctx = OPENSSL_malloc(sizeof(RSA_PKEY_CTX));
132 ctx->tbuf = OPENSSL_malloc(EVP_PKEY_size(pk->pkey));
/barrelfish-master/lib/openssl-1.0.0d/engines/
H A De_gmp.c306 char *tmpchar = OPENSSL_malloc(mpz_sizeinbase(g, 16) + 10);
334 hptr = OPENSSL_malloc(sizeof(E_GMP_RSA_CTX));

Completed in 217 milliseconds

12345678910