Home
last modified time | relevance | path

Searched refs:pbuf (Results 1 – 14 of 14) sorted by relevance

/openssl/crypto/asn1/
H A Dbio_ndef.c45 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 Ddh_key.c420 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 Ddecode_epki2pki.c115 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 Dec_oct.c139 unsigned char **pbuf, BN_CTX *ctx) in EC_POINT_point2buf() argument
154 *pbuf = buf; in EC_POINT_point2buf()
H A Dec_key.c963 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 Decdsatest.c77 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 Dder_writer.c84 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 Dstore_result.c337 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 DEC_KEY_new.pod61 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 DEC_POINT_new.pod55 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 Ddh.h50 size_t ossl_dh_key2buf(const DH *dh, unsigned char **pbuf, size_t size,
/openssl/include/openssl/
H A Dec.h785 unsigned char **pbuf, BN_CTX *ctx);
1154 unsigned char **pbuf, BN_CTX *ctx);
1194 unsigned char **pbuf);
H A Dbio.h.in342 typedef int asn1_ps_func (BIO *b, unsigned char **pbuf, int *plen,
/openssl/apps/
H A Dca.c2491 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()

Completed in 55 milliseconds