Searched refs:kstr (Results 1 - 13 of 13) sorted by relevance

/freebsd-current/crypto/openssl/crypto/pem/
H A Dpem_pk8.c23 const char *kstr, int klen,
30 const char *kstr, int klen,
42 const char *kstr, int klen,
45 return do_pk8pkey(bp, x, 0, nid, NULL, kstr, klen, cb, u, NULL);
49 const char *kstr, int klen,
52 return do_pk8pkey(bp, x, 0, -1, enc, kstr, klen, cb, u, NULL);
56 const char *kstr, int klen,
59 return do_pk8pkey(bp, x, 1, -1, enc, kstr, klen, cb, u, NULL);
63 const char *kstr, int klen,
66 return do_pk8pkey(bp, x, 1, nid, NULL, kstr, kle
41 PEM_write_bio_PKCS8PrivateKey_nid(BIO *bp, const EVP_PKEY *x, int nid, const char *kstr, int klen, pem_password_cb *cb, void *u) argument
48 PEM_write_bio_PKCS8PrivateKey(BIO *bp, const EVP_PKEY *x, const EVP_CIPHER *enc, const char *kstr, int klen, pem_password_cb *cb, void *u) argument
55 i2d_PKCS8PrivateKey_bio(BIO *bp, const EVP_PKEY *x, const EVP_CIPHER *enc, const char *kstr, int klen, pem_password_cb *cb, void *u) argument
62 i2d_PKCS8PrivateKey_nid_bio(BIO *bp, const EVP_PKEY *x, int nid, const char *kstr, int klen, pem_password_cb *cb, void *u) argument
69 do_pk8pkey(BIO *bp, const EVP_PKEY *x, int isder, int nid, const EVP_CIPHER *enc, const char *kstr, int klen, pem_password_cb *cb, void *u, const char *propq) argument
208 i2d_PKCS8PrivateKey_fp(FILE *fp, const EVP_PKEY *x, const EVP_CIPHER *enc, const char *kstr, int klen, pem_password_cb *cb, void *u) argument
215 i2d_PKCS8PrivateKey_nid_fp(FILE *fp, const EVP_PKEY *x, int nid, const char *kstr, int klen, pem_password_cb *cb, void *u) argument
222 PEM_write_PKCS8PrivateKey_nid(FILE *fp, const EVP_PKEY *x, int nid, const char *kstr, int klen, pem_password_cb *cb, void *u) argument
229 PEM_write_PKCS8PrivateKey(FILE *fp, const EVP_PKEY *x, const EVP_CIPHER *enc, const char *kstr, int klen, pem_password_cb *cb, void *u) argument
236 do_pk8pkey_fp(FILE *fp, const EVP_PKEY *x, int isder, int nid, const EVP_CIPHER *enc, const char *kstr, int klen, pem_password_cb *cb, void *u, const char *propq) argument
[all...]
H A Dpem_local.h55 if (kstr == NULL && cb == NULL) { \
57 kstr = u; \
68 if (kstr != NULL \
69 && !OSSL_ENCODER_CTX_set_passphrase(ctx, kstr, klen)) \
94 x, enc, kstr, klen, cb, u)
H A Dpem_pkey.c325 (const char *)kstr, klen, cb, u);
326 return PEM_write_bio_PrivateKey_traditional(out, x, enc, kstr, klen, cb, u);
331 return PEM_write_bio_PrivateKey_ex(out, x, enc, kstr, klen, cb, u,
341 const unsigned char *kstr, int klen,
363 pem_str, bp, x, enc, kstr, klen, cb, u);
439 ret = PEM_write_bio_PrivateKey_ex(b, x, enc, kstr, klen, cb, u,
447 return PEM_write_PrivateKey_ex(out, x, enc, kstr, klen, cb, u, NULL, NULL);
339 PEM_write_bio_PrivateKey_traditional(BIO *bp, const EVP_PKEY *x, const EVP_CIPHER *enc, const unsigned char *kstr, int klen, pem_password_cb *cb, void *u) argument
H A Dpem_lib.c295 const unsigned char *kstr, int klen,
306 ret = PEM_ASN1_write_bio(i2d, name, b, x, enc, kstr, klen, callback, u);
314 const unsigned char *kstr, int klen,
356 if (kstr == NULL) {
369 kstr = (unsigned char *)buf;
378 if (!EVP_BytesToKey(enc, EVP_md5(), iv, kstr, klen, 1, key, NULL))
381 if (kstr == (unsigned char *)buf)
293 PEM_ASN1_write(i2d_of_void *i2d, const char *name, FILE *fp, const void *x, const EVP_CIPHER *enc, const unsigned char *kstr, int klen, pem_password_cb *callback, void *u) argument
312 PEM_ASN1_write_bio(i2d_of_void *i2d, const char *name, BIO *bp, const void *x, const EVP_CIPHER *enc, const unsigned char *kstr, int klen, pem_password_cb *callback, void *u) argument
H A Dpem_info.c225 const unsigned char *kstr, int klen,
291 enc, kstr, klen, cb, u) <= 0)
224 PEM_X509_INFO_write_bio(BIO *bp, const X509_INFO *xi, EVP_CIPHER *enc, const unsigned char *kstr, int klen, pem_password_cb *cb, void *u) argument
/freebsd-current/crypto/openssl/include/openssl/
H A Dpem.h83 const unsigned char *kstr, int klen, \
92 const unsigned char *kstr, int klen, \
133 x, enc, kstr, klen, cb, u); \
166 x, enc, kstr, klen, cb, u); \
392 const unsigned char *kstr, int klen,
403 const unsigned char *kstr, int klen,
415 const unsigned char *kstr, int klen,
478 const unsigned char *kstr, int klen,
481 /* Why do these take a signed char *kstr? */
483 const char *kstr, in
[all...]
H A Ddecoder.h57 const unsigned char *kstr, size_t klen);
H A Dencoder.h57 const unsigned char *kstr, size_t klen);
/freebsd-current/crypto/openssl/crypto/encode_decode/
H A Dencoder_pkey.c42 const unsigned char *kstr,
45 return ossl_pw_set_passphrase(&ctx->pwdata, kstr, klen);
41 OSSL_ENCODER_CTX_set_passphrase(OSSL_ENCODER_CTX *ctx, const unsigned char *kstr, size_t klen) argument
H A Ddecoder_pkey.c23 const unsigned char *kstr,
26 return ossl_pw_set_passphrase(&ctx->pwdata, kstr, klen);
22 OSSL_DECODER_CTX_set_passphrase(OSSL_DECODER_CTX *ctx, const unsigned char *kstr, size_t klen) argument
/freebsd-current/crypto/openssl/providers/implementations/encode_decode/
H A Dencode_key2any.c107 char kstr[PEM_BUFSIZE]; local
114 if (!ossl_pw_get_passphrase(kstr, sizeof(kstr), &klen, NULL, 1,
120 p8 = PKCS8_encrypt_ex(-1, ctx->cipher, kstr, klen, NULL, 0, 0, p8info, libctx, NULL);
121 OPENSSL_cleanse(kstr, klen);
/freebsd-current/crypto/openssl/test/
H A Dendecoder_legacy_test.c63 unsigned char *kstr, int klen,
/freebsd-current/crypto/openssl/crypto/evp/
H A Dp_lib.c1151 const char *kstr)
1155 kstr, OBJ_nid2ln(pkey->type)) > 0;
1150 unsup_alg(BIO *out, const EVP_PKEY *pkey, int indent, const char *kstr) argument

Completed in 148 milliseconds