Home
last modified time | relevance | path

Searched refs:pem_str (Results 1 – 11 of 11) sorted by relevance

/third_party/openssl/crypto/pem/
Dpem_pkey.c23 int pem_check_suffix(const char *pem_str, const char *suffix);
110 char pem_str[80]; in PEM_write_bio_PrivateKey_traditional() local
117 BIO_snprintf(pem_str, 80, "%s PRIVATE KEY", x->ameth->pem_str); in PEM_write_bio_PrivateKey_traditional()
119 pem_str, bp, x, enc, kstr, klen, cb, u); in PEM_write_bio_PrivateKey_traditional()
162 char pem_str[80]; in PEM_write_bio_Parameters() local
166 BIO_snprintf(pem_str, 80, "%s PARAMETERS", x->ameth->pem_str); in PEM_write_bio_Parameters()
168 pem_str, bp, x, NULL, NULL, 0, 0, NULL); in PEM_write_bio_Parameters()
Dpem_lib.c29 int pem_check_suffix(const char *pem_str, const char *suffix);
993 int pem_check_suffix(const char *pem_str, const char *suffix) in pem_check_suffix() argument
995 int pem_len = strlen(pem_str); in pem_check_suffix()
1000 p = pem_str + pem_len - suffix_len; in pem_check_suffix()
1006 return p - pem_str; in pem_check_suffix()
/third_party/openssl/crypto/asn1/
Dameth_lib.c132 if ((int)strlen(ameth->pem_str) == len in EVP_PKEY_asn1_find_str()
133 && strncasecmp(ameth->pem_str, str, len) == 0) in EVP_PKEY_asn1_find_str()
151 if (!((ameth->pem_str == NULL in EVP_PKEY_asn1_add0()
153 || (ameth->pem_str != NULL in EVP_PKEY_asn1_add0()
208 *ppem_str = ameth->pem_str; in EVP_PKEY_asn1_get0_info()
218 const char *pem_str, const char *info) in EVP_PKEY_asn1_new() argument
235 if (pem_str) { in EVP_PKEY_asn1_new()
236 ameth->pem_str = OPENSSL_strdup(pem_str); in EVP_PKEY_asn1_new()
237 if (!ameth->pem_str) in EVP_PKEY_asn1_new()
290 OPENSSL_free(ameth->pem_str); in EVP_PKEY_asn1_free()
/third_party/openssl/crypto/engine/
Dtb_asnmth.c151 && ((int)strlen(ameth->pem_str) == len) in ENGINE_get_pkey_asn1_meth_str()
152 && strncasecmp(ameth->pem_str, str, len) == 0) in ENGINE_get_pkey_asn1_meth_str()
176 && ((int)strlen(ameth->pem_str) == lk->len) in look_str_cb()
177 && strncasecmp(ameth->pem_str, lk->str, lk->len) == 0) { in look_str_cb()
/third_party/openssl/test/
Dasn1_internal_test.c88 if (!TEST_true(((*tmp)->pem_str == NULL && ((*tmp)->pkey_flags & ASN1_PKEY_ALIAS) != 0) in test_standard_methods()
89 … || ((*tmp)->pem_str != NULL && ((*tmp)->pkey_flags & ASN1_PKEY_ALIAS) == 0))) { in test_standard_methods()
/third_party/openssl/apps/
Dopenssl.c600 const char *pinfo, *pem_str; in list_pkey() local
603 &pinfo, &pem_str, ameth); in list_pkey()
614 if (pem_str == NULL) in list_pkey()
615 pem_str = "(none)"; in list_pkey()
616 BIO_printf(bio_out, "\tPEM string: %s\n", pem_str); in list_pkey()
/third_party/openssl/include/crypto/
Dasn1.h18 char *pem_str; member
/third_party/openssl/doc/man3/
DEVP_PKEY_ASN1_METHOD.pod36 const char *pem_str,
366 object, and associates the given B<id>, B<flags>, B<pem_str> and
368 B<id> is a NID, B<pem_str> is the PEM type string, B<info> is a
/third_party/openssl/crypto/store/
Dloader_file.c399 int pem_check_suffix(const char *pem_str, const char *suffix);
/third_party/openssl/include/openssl/
Devp.h1159 const char *pem_str,
/third_party/openssl/
DCHANGES830 *) Make EVP_PKEY_asn1_new() a bit stricter about its input. A NULL pem_str
832 pem_str is reserved for alias entries only.
1296 *) Make EVP_PKEY_asn1_new() a bit stricter about its input. A NULL pem_str
1298 pem_str is reserved for alias entries only.