Classes | Macros | Functions
third_party/boringssl-with-bazel/src/crypto/pkcs8/internal.h File Reference
#include <openssl/base.h>
Include dependency graph for third_party/boringssl-with-bazel/src/crypto/pkcs8/internal.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  pbe_suite
 
struct  pkcs8_priv_key_info_st
 

Macros

#define PKCS12_IV_ID   2
 
#define PKCS12_KEY_ID   1
 
#define PKCS12_MAC_ID   3
 
#define PKCS5_SALT_LEN   8
 

Functions

int pkcs12_iterations_acceptable (uint64_t iterations)
 
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)
 
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)
 
int PKCS5_pbe2_decrypt_init (const struct pbe_suite *suite, EVP_CIPHER_CTX *ctx, const char *pass, size_t pass_len, CBS *param)
 
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 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)
 

Macro Definition Documentation

◆ PKCS12_IV_ID

#define PKCS12_IV_ID   2

◆ PKCS12_KEY_ID

#define PKCS12_KEY_ID   1

◆ PKCS12_MAC_ID

#define PKCS12_MAC_ID   3

◆ PKCS5_SALT_LEN

#define PKCS5_SALT_LEN   8

Function Documentation

◆ pkcs12_iterations_acceptable()

int pkcs12_iterations_acceptable ( uint64_t  iterations)

Definition at line 78 of file pkcs8_x509.c.

◆ pkcs12_key_gen()

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 
)

Definition at line 109 of file pkcs8.c.

◆ pkcs12_pbe_encrypt_init()

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 
)

Definition at line 333 of file pkcs8.c.

◆ PKCS5_pbe2_decrypt_init()

int PKCS5_pbe2_decrypt_init ( const struct pbe_suite suite,
EVP_CIPHER_CTX ctx,
const char *  pass,
size_t  pass_len,
CBS param 
)

Definition at line 213 of file p5_pbev2.c.

◆ PKCS5_pbe2_encrypt_init()

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 
)

Definition at line 164 of file p5_pbev2.c.

◆ pkcs8_pbe_decrypt()

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 
)

Definition at line 360 of file pkcs8.c.



grpc
Author(s):
autogenerated on Fri May 16 2025 03:01:20