/openssl/crypto/asn1/ |
H A D | bio_ndef.c | 45 static int ndef_prefix(BIO *b, unsigned char **pbuf, int *plen, void *parg); 46 static int ndef_prefix_free(BIO *b, unsigned char **pbuf, int *plen, 49 static int ndef_suffix_free(BIO *b, unsigned char **pbuf, int *plen, 147 *pbuf = p; in ndef_prefix() 153 *plen = *ndef_aux->boundary - *pbuf; in ndef_prefix() 158 static int ndef_prefix_free(BIO *b, unsigned char **pbuf, int *plen, in ndef_prefix_free() argument 174 *pbuf = NULL; in ndef_prefix_free() 179 static int ndef_suffix_free(BIO *b, unsigned char **pbuf, int *plen, in ndef_suffix_free() argument 183 if (!ndef_prefix_free(b, pbuf, plen, parg)) in ndef_suffix_free() 220 *pbuf = p; in ndef_suffix() [all …]
|
/openssl/crypto/dh/ |
H A D | dh_key.c | 420 unsigned char *pbuf = NULL; in ossl_dh_key2buf() local 435 pbuf = *pbuf_out; in ossl_dh_key2buf() 436 if (pbuf == NULL) in ossl_dh_key2buf() 439 pbuf = OPENSSL_malloc(p_size); in ossl_dh_key2buf() 443 if (pbuf == NULL) in ossl_dh_key2buf() 449 if (BN_bn2binpad(pubkey, pbuf, p_size) < 0) { in ossl_dh_key2buf() 451 OPENSSL_free(pbuf); in ossl_dh_key2buf() 455 *pbuf_out = pbuf; in ossl_dh_key2buf()
|
/openssl/providers/implementations/encode_decode/ |
H A D | decode_epki2pki.c | 115 char pbuf[1024]; in epki2pki_decode() local 120 if (!pw_cb(pbuf, sizeof(pbuf), &plen, NULL, pw_cbarg)) { in epki2pki_decode() 129 if (!PKCS12_pbe_crypt_ex(alg, pbuf, plen, in epki2pki_decode()
|
/openssl/crypto/ec/ |
H A D | ec_oct.c | 139 unsigned char **pbuf, BN_CTX *ctx) in EC_POINT_point2buf() argument 154 *pbuf = buf; in EC_POINT_point2buf()
|
H A D | ec_key.c | 963 unsigned char **pbuf, BN_CTX *ctx) in EC_KEY_key2buf() argument 967 return EC_POINT_point2buf(key->group, key->pub_key, form, pbuf, ctx); in EC_KEY_key2buf() 1063 size_t EC_KEY_priv2buf(const EC_KEY *eckey, unsigned char **pbuf) in EC_KEY_priv2buf() argument 1078 *pbuf = buf; in EC_KEY_priv2buf()
|
/openssl/test/ |
H A D | ecdsatest.c | 77 unsigned char *pbuf = NULL, *qbuf = NULL, *message = NULL; in x9_62_tests() local 123 &pbuf, NULL)) in x9_62_tests() 126 || !TEST_mem_eq(qbuf, q_len, pbuf, p_len)) in x9_62_tests() 148 OPENSSL_free(pbuf); in x9_62_tests()
|
/openssl/crypto/ |
H A D | der_writer.c | 84 unsigned char *pbuf = tmp + (sizeof(tmp) - 1); in ossl_DER_w_octet_string_uint32() local 87 *pbuf-- = (value & 0xFF); in ossl_DER_w_octet_string_uint32()
|
/openssl/crypto/store/ |
H A D | store_result.c | 337 char pbuf[PEM_BUFSIZE]; in try_key_value_legacy() local 340 if (!cb(pbuf, sizeof(pbuf), &plen, NULL, cbarg)) { in try_key_value_legacy() 353 PKCS12_pbe_crypt(alg, pbuf, plen, in try_key_value_legacy()
|
/openssl/doc/man3/ |
H A D | EC_KEY_new.pod | 61 unsigned char **pbuf, BN_CTX *ctx); 66 size_t EC_KEY_priv2buf(const EC_KEY *eckey, unsigned char **pbuf); 182 an EC_KEY to it in octet format. The allocated buffer is written to I<*pbuf> 184 call to OPENSSL_free(). Since the allocated buffer value is written to I<*pbuf> 185 the I<pbuf> parameter B<MUST NOT> be B<NULL>.
|
H A D | EC_POINT_new.pod | 55 unsigned char **pbuf, BN_CTX *ctx); 211 B<*pbuf> and its length is returned. The caller must free up the allocated 213 written to B<*pbuf> the B<pbuf> parameter B<MUST NOT> be B<NULL>.
|
/openssl/include/crypto/ |
H A D | dh.h | 50 size_t ossl_dh_key2buf(const DH *dh, unsigned char **pbuf, size_t size,
|
/openssl/include/openssl/ |
H A D | ec.h | 785 unsigned char **pbuf, BN_CTX *ctx); 1154 unsigned char **pbuf, BN_CTX *ctx); 1194 unsigned char **pbuf);
|
H A D | bio.h.in | 342 typedef int asn1_ps_func (BIO *b, unsigned char **pbuf, int *plen,
|
/openssl/apps/ |
H A D | ca.c | 2491 char buf[25], *pbuf; in old_entry_print() local 2496 pbuf = buf; in old_entry_print() 2498 *(pbuf++) = ' '; in old_entry_print() 2499 *(pbuf++) = ':'; in old_entry_print() 2500 *(pbuf++) = '\0'; in old_entry_print()
|