Home
last modified time | relevance | path

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

/openssl-master/crypto/asn1/
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,
125 *pbuf = p; in ndef_prefix()
131 *plen = *ndef_aux->boundary - *pbuf; in ndef_prefix()
136 static int ndef_prefix_free(BIO *b, unsigned char **pbuf, int *plen, in ndef_prefix_free() argument
152 *pbuf = NULL; in ndef_prefix_free()
157 static int ndef_suffix_free(BIO *b, unsigned char **pbuf, int *plen, in ndef_suffix_free() argument
161 if (!ndef_prefix_free(b, pbuf, plen, parg)) in ndef_suffix_free()
200 *pbuf = p; in ndef_suffix()
[all …]
/openssl-master/providers/implementations/encode_decode/
A Ddecode_epki2pki.c86 char pbuf[1024]; in epki2pki_decode() local
91 if (!pw_cb(pbuf, sizeof(pbuf), &plen, NULL, pw_cbarg)) { in epki2pki_decode()
100 if (!PKCS12_pbe_crypt_ex(alg, pbuf, plen, in epki2pki_decode()
/openssl-master/crypto/ec/
A Dec_print.c23 unsigned char *buf = NULL, *pbuf; in EC_POINT_point2hex() local
36 pbuf = buf; in EC_POINT_point2hex()
38 int v = (int)*(pbuf++); in EC_POINT_point2hex()
A Dec_oct.c135 unsigned char **pbuf, BN_CTX *ctx) in EC_POINT_point2buf() argument
152 *pbuf = buf; in EC_POINT_point2buf()
A Dec_key.c858 unsigned char **pbuf, BN_CTX *ctx) in EC_KEY_key2buf() argument
862 return EC_POINT_point2buf(key->group, key->pub_key, form, pbuf, ctx); in EC_KEY_key2buf()
959 size_t EC_KEY_priv2buf(const EC_KEY *eckey, unsigned char **pbuf) in EC_KEY_priv2buf() argument
976 *pbuf = buf; in EC_KEY_priv2buf()
/openssl-master/crypto/dh/
A Ddh_key.c408 unsigned char *pbuf = NULL; in ossl_dh_key2buf() local
423 pbuf = *pbuf_out; in ossl_dh_key2buf()
425 pbuf = OPENSSL_malloc(p_size); in ossl_dh_key2buf()
428 if (pbuf == NULL) { in ossl_dh_key2buf()
436 if (BN_bn2binpad(pubkey, pbuf, p_size) < 0) { in ossl_dh_key2buf()
438 OPENSSL_free(pbuf); in ossl_dh_key2buf()
442 *pbuf_out = pbuf; in ossl_dh_key2buf()
/openssl-master/test/
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-master/crypto/
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-master/crypto/store/
A Dstore_result.c319 char pbuf[PEM_BUFSIZE]; in try_key_value_legacy() local
322 if (!cb(pbuf, sizeof(pbuf), &plen, NULL, cbarg)) { in try_key_value_legacy()
335 PKCS12_pbe_crypt(alg, pbuf, plen, in try_key_value_legacy()
/openssl-master/doc/man3/
A DEC_KEY_new.pod61 unsigned char **pbuf, BN_CTX *ctx);
66 size_t EC_KEY_priv2buf(const EC_KEY *eckey, unsigned char **pbuf);
180 an EC_KEY to it in octet format. The allocated buffer is written to I<*pbuf>
182 call to OPENSSL_free(). Since the allocated buffer value is written to I<*pbuf>
183 the I<pbuf> parameter B<MUST NOT> be B<NULL>.
A DEC_POINT_new.pod55 unsigned char **pbuf, BN_CTX *ctx);
209 B<*pbuf> and its length is returned. The caller must free up the allocated
211 written to B<*pbuf> the B<pbuf> parameter B<MUST NOT> be B<NULL>.
/openssl-master/include/crypto/
A Ddh.h49 size_t ossl_dh_key2buf(const DH *dh, unsigned char **pbuf, size_t size,
/openssl-master/include/openssl/
A Dec.h764 unsigned char **pbuf, BN_CTX *ctx);
1133 unsigned char **pbuf, BN_CTX *ctx);
1173 unsigned char **pbuf);
A Dbio.h.in309 typedef int asn1_ps_func (BIO *b, unsigned char **pbuf, int *plen,
/openssl-master/apps/
A Dca.c2512 char buf[25], *pbuf; in old_entry_print() local
2517 pbuf = buf; in old_entry_print()
2519 *(pbuf++) = ' '; in old_entry_print()
2520 *(pbuf++) = ':'; in old_entry_print()
2521 *(pbuf++) = '\0'; in old_entry_print()

Completed in 28 milliseconds