Go to the documentation of this file.
56 #ifndef OPENSSL_HEADER_PKCS8_INTERNAL_H
57 #define OPENSSL_HEADER_PKCS8_INTERNAL_H
61 #if defined(__cplusplus)
78 const char *pass,
size_t pass_len,
const uint8_t *
in,
81 #define PKCS12_KEY_ID 1
82 #define PKCS12_IV_ID 2
83 #define PKCS12_MAC_ID 3
90 size_t salt_len,
uint8_t id,
unsigned iterations,
96 unsigned iterations,
const char *pass,
97 size_t pass_len,
const uint8_t *salt,
112 const char *pass,
size_t pass_len,
CBS *param);
115 #define PKCS5_SALT_LEN 8
118 const char *pass,
size_t pass_len,
CBS *param);
124 const EVP_CIPHER *cipher,
unsigned iterations,
125 const char *pass,
size_t pass_len,
126 const uint8_t *salt,
size_t salt_len);
133 #if defined(__cplusplus)
137 #endif // OPENSSL_HEADER_PKCS8_INTERNAL_H
int PKCS5_pbe2_encrypt_init(CBB *out, EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, unsigned iterations, const char *pass, size_t pass_len, const uint8_t *salt, size_t salt_len)
int PKCS5_pbe2_decrypt_init(const struct pbe_suite *suite, EVP_CIPHER_CTX *ctx, const char *pass, size_t pass_len, CBS *param)
static struct test_ctx ctx
int pkcs12_pbe_encrypt_init(CBB *out, EVP_CIPHER_CTX *ctx, int alg, unsigned iterations, const char *pass, size_t pass_len, const uint8_t *salt, size_t salt_len)
unsigned __int64 uint64_t
int pkcs8_pbe_decrypt(uint8_t **out, size_t *out_len, CBS *algorithm, const char *pass, size_t pass_len, const uint8_t *in, size_t in_len)
int pkcs12_key_gen(const char *pass, size_t pass_len, const uint8_t *salt, size_t salt_len, uint8_t id, unsigned iterations, size_t out_len, uint8_t *out, const EVP_MD *md)
STACK_OF(X509_ATTRIBUTE) *attributes
int(* decrypt_init)(const struct pbe_suite *suite, EVP_CIPHER_CTX *ctx, const char *pass, size_t pass_len, CBS *param)
int pkcs12_iterations_acceptable(uint64_t iterations)
grpc
Author(s):
autogenerated on Fri May 16 2025 02:59:07