Go to the documentation of this file.
91 if (alg == NULL || alg->
parameter == NULL ||
144 if (!rsa_md_to_algor(&algtmp, mgf1md) ||
200 const EVP_MD *sigmd, *mgf1md;
211 }
else if (saltlen == -2) {
274 if (mgf1md == NULL ||
md == NULL) {
321 if (
BIO_puts(bp,
" (INVALID PSS PARAMETERS)\n") <= 0) {
330 BIO_puts(bp,
"Hash Algorithm: ") <= 0) {
338 }
else if (
BIO_puts(bp,
"sha1 (default)") <= 0) {
344 BIO_puts(bp,
"Mask Algorithm: ") <= 0) {
358 }
else if (
BIO_puts(bp,
"INVALID") <= 0) {
361 }
else if (
BIO_puts(bp,
"mgf1 with sha1 (default)") <= 0) {
367 BIO_puts(bp,
"Salt Length: 0x") <= 0) {
375 }
else if (
BIO_puts(bp,
"14 (default)") <= 0) {
381 BIO_puts(bp,
"Trailer Field: 0x") <= 0) {
389 }
else if (
BIO_puts(bp,
"BC (default)") <= 0) {
#define EVP_DigestVerifyInit
#define RSA_PSS_PARAMS_free
#define EVP_PKEY_CTX_get_rsa_mgf1_md
ASN1_INTEGER * trailerField
X509_ALGOR * hashAlgorithm
#define OPENSSL_PUT_ERROR(library, reason)
OPENSSL_EXPORT int X509_ALGOR_set0(X509_ALGOR *alg, ASN1_OBJECT *obj, int param_type, void *param_value)
#define X509_R_INVALID_PSS_PARAMETERS
X509_ALGOR * maskGenAlgorithm
OPENSSL_EXPORT ASN1_INTEGER * ASN1_INTEGER_new(void)
#define IMPLEMENT_ASN1_FUNCTIONS(stname)
struct asn1_pctx_st ASN1_PCTX
#define EVP_PKEY_CTX_get_signature_md
#define EVP_PKEY_CTX_get0_pkey
#define d2i_RSA_PSS_PARAMS
OPENSSL_EXPORT void X509_ALGOR_set_md(X509_ALGOR *alg, const EVP_MD *md)
int x509_rsa_pss_to_ctx(EVP_MD_CTX *ctx, const X509_ALGOR *sigalg, EVP_PKEY *pkey)
ASN1_INTEGER * saltLength
int x509_print_rsa_pss_params(BIO *bp, const X509_ALGOR *sigalg, int indent, ASN1_PCTX *pctx)
#define ASN1_ITEM_rptr(name)
#define ASN1_EXP_OPT(stname, field, type, tag)
#define RSA_PSS_PARAMS_new
UniquePtr< SSL_SESSION > ret
#define EVP_PKEY_CTX_set_rsa_mgf1_md
struct ASN1_VALUE_st ASN1_VALUE
const OPENSSL_EXPORT EVP_MD * EVP_sha1(void)
#define RSA_PKCS1_PSS_PADDING
#define EVP_PKEY_CTX_set_rsa_padding
union asn1_type_st::@361 value
#define EVP_get_digestbyobj
#define EVP_PKEY_CTX_set_rsa_pss_saltlen
static int rsa_pss_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it, void *exarg)
#define ASN1_SEQUENCE_END_cb(stname, tname)
#define ASN1_SEQUENCE_cb(tname, cb)
int x509_rsa_ctx_to_pss(EVP_MD_CTX *ctx, X509_ALGOR *algor)
#define EVP_PKEY_CTX_get_rsa_pss_saltlen
grpc
Author(s):
autogenerated on Thu Mar 13 2025 03:01:13