Home
last modified time | relevance | path

Searched refs:PEM_BUFSIZE (Results 1 – 7 of 7) sorted by relevance

/openbsd/lib/libcrypto/pem/
H A Dpem_lib.c144 strlcat(buf, str, PEM_BUFSIZE); in PEM_proc_type()
145 strlcat(buf, "\n", PEM_BUFSIZE); in PEM_proc_type()
157 strlcat(buf, type, PEM_BUFSIZE); in PEM_dek_info()
158 strlcat(buf, ",", PEM_BUFSIZE); in PEM_dek_info()
160 if (j + (len * 2) + 1 > PEM_BUFSIZE) in PEM_dek_info()
352 char buf[PEM_BUFSIZE]; in PEM_ASN1_write_bio()
436 explicit_bzero(buf, PEM_BUFSIZE); in PEM_ASN1_write_bio()
450 char buf[PEM_BUFSIZE]; in PEM_do_header()
628 n = (int)((len > (PEM_BUFSIZE * 5)) ? (PEM_BUFSIZE * 5) : len); in PEM_write_bio()
640 freezero(buf, PEM_BUFSIZE * 8); in PEM_write_bio()
[all …]
H A Dpem_pk8.c119 char buf[PEM_BUFSIZE]; in do_pk8pkey()
129 klen = PEM_def_callback(buf, PEM_BUFSIZE, 1, u); in do_pk8pkey()
131 klen = cb(buf, PEM_BUFSIZE, 1, u); in do_pk8pkey()
167 char psbuf[PEM_BUFSIZE]; in d2i_PKCS8PrivateKey_bio()
173 klen = cb(psbuf, PEM_BUFSIZE, 0, u); in d2i_PKCS8PrivateKey_bio()
175 klen = PEM_def_callback(psbuf, PEM_BUFSIZE, 0, u); in d2i_PKCS8PrivateKey_bio()
H A Dpem_pkey.c107 char psbuf[PEM_BUFSIZE]; in PEM_read_bio_PrivateKey()
112 klen = cb(psbuf, PEM_BUFSIZE, 0, u); in PEM_read_bio_PrivateKey()
114 klen = PEM_def_callback(psbuf, PEM_BUFSIZE, 0, u); in PEM_read_bio_PrivateKey()
H A Dpvkfmt.c742 char psbuf[PEM_BUFSIZE]; in do_PVK_body()
747 inlen = cb(psbuf, PEM_BUFSIZE, 0, u); in do_PVK_body()
749 inlen = PEM_def_callback(psbuf, PEM_BUFSIZE, 0, u); in do_PVK_body()
888 char psbuf[PEM_BUFSIZE]; in i2b_PVK()
892 inlen = cb(psbuf, PEM_BUFSIZE, 1, u); in i2b_PVK()
894 inlen = PEM_def_callback(psbuf, PEM_BUFSIZE, 1, u); in i2b_PVK()
H A Dpem_info.c304 char buf[PEM_BUFSIZE]; in PEM_X509_INFO_write_bio()
384 explicit_bzero(buf, PEM_BUFSIZE); in PEM_X509_INFO_write_bio()
H A Dpem.h77 #define PEM_BUFSIZE 1024 macro
/openbsd/usr.bin/openssl/
H A Dapps.c476 char tpass[PEM_BUFSIZE]; in load_pkcs12()
491 len = pem_cb(tpass, PEM_BUFSIZE, 0, cb_data); in load_pkcs12()
497 if (len < PEM_BUFSIZE) in load_pkcs12()