Home
last modified time | relevance | path

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

/openssl/crypto/asn1/
H A Dameth_lib.c135 if ((int)strlen(ameth->pem_str) == len in EVP_PKEY_asn1_find_str()
136 && OPENSSL_strncasecmp(ameth->pem_str, str, len) == 0) in EVP_PKEY_asn1_find_str()
154 if (!((ameth->pem_str == NULL in EVP_PKEY_asn1_add0()
156 || (ameth->pem_str != NULL in EVP_PKEY_asn1_add0()
211 *ppem_str = ameth->pem_str; in EVP_PKEY_asn1_get0_info()
238 if (pem_str) { in EVP_PKEY_asn1_new()
239 ameth->pem_str = OPENSSL_strdup(pem_str); in EVP_PKEY_asn1_new()
240 if (ameth->pem_str == NULL) in EVP_PKEY_asn1_new()
257 char *pem_str = dst->pem_str; in EVP_PKEY_asn1_copy() local
266 dst->pem_str = pem_str; in EVP_PKEY_asn1_copy()
[all …]
/openssl/crypto/pem/
H A Dpem_pkey.c31 int ossl_pem_check_suffix(const char *pem_str, const char *suffix);
344 char pem_str[80]; in PEM_write_bio_PrivateKey_traditional() local
361 BIO_snprintf(pem_str, 80, "%s PRIVATE KEY", x->ameth->pem_str); in PEM_write_bio_PrivateKey_traditional()
363 pem_str, bp, x, enc, kstr, klen, cb, u); in PEM_write_bio_PrivateKey_traditional()
392 char pem_str[80]; in PEM_write_fnsig() local
401 BIO_snprintf(pem_str, 80, "%s PARAMETERS", x->ameth->pem_str); in PEM_write_fnsig()
403 pem_str, out, x, NULL, NULL, 0, 0, NULL); in PEM_write_fnsig()
H A Dpem_lib.c32 int ossl_pem_check_suffix(const char *pem_str, const char *suffix);
1021 int ossl_pem_check_suffix(const char *pem_str, const char *suffix) in ossl_pem_check_suffix() argument
1023 int pem_len = strlen(pem_str); in ossl_pem_check_suffix()
1028 p = pem_str + pem_len - suffix_len; in ossl_pem_check_suffix()
1034 return p - pem_str; in ossl_pem_check_suffix()
/openssl/crypto/engine/
H A Dtb_asnmth.c154 && ((int)strlen(ameth->pem_str) == len) in ENGINE_get_pkey_asn1_meth_str()
155 && OPENSSL_strncasecmp(ameth->pem_str, str, len) == 0) in ENGINE_get_pkey_asn1_meth_str()
179 && ((int)strlen(ameth->pem_str) == lk->len) in look_str_cb()
180 && OPENSSL_strncasecmp(ameth->pem_str, lk->str, lk->len) == 0) { in look_str_cb()
/openssl/test/
H A Dasn1_internal_test.c94 if (!TEST_true(((*tmp)->pem_str == NULL && ((*tmp)->pkey_flags & ASN1_PKEY_ALIAS) != 0) in test_standard_methods()
95 … || ((*tmp)->pem_str != NULL && ((*tmp)->pkey_flags & ASN1_PKEY_ALIAS) == 0))) { in test_standard_methods()
/openssl/include/crypto/
H A Dasn1.h27 char *pem_str; member
/openssl/apps/
H A Dlist.c1146 const char *pinfo, *pem_str; in list_pkey() local
1149 &pinfo, &pem_str, ameth); in list_pkey()
1160 if (pem_str == NULL) in list_pkey()
1161 pem_str = "(none)"; in list_pkey()
1162 BIO_printf(bio_out, "\tPEM string: %s\n", pem_str); in list_pkey()
/openssl/doc/man3/
H A DEVP_PKEY_ASN1_METHOD.pod36 const char *pem_str,
376 object, and associates the given B<id>, B<flags>, B<pem_str> and
378 B<id> is a NID, B<pem_str> is the PEM type string, B<info> is a
/openssl/include/openssl/
H A Devp.h1591 const char *pem_str,
/openssl/
H A DCHANGES.md3938 * Make EVP_PKEY_asn1_new() a bit stricter about its input. A NULL pem_str
3940 pem_str is reserved for alias entries only.
4627 * Make EVP_PKEY_asn1_new() a bit stricter about its input. A NULL pem_str
4629 pem_str is reserved for alias entries only.
6412 * Make EVP_PKEY_asn1_new() a bit stricter about its input. A NULL pem_str
6414 pem_str is reserved for alias entries only.

Completed in 130 milliseconds