HomeSort by: relevance | last modified time | path
    Searched defs:prsactx (Results 1 - 6 of 6) sorted by relevancy

  /src/crypto/external/apache2/openssl/dist/providers/implementations/kem/
rsa_kem.c 86 PROV_RSA_CTX *prsactx; local
91 prsactx = OPENSSL_zalloc(sizeof(PROV_RSA_CTX));
92 if (prsactx == NULL)
94 prsactx->libctx = PROV_LIBCTX_OF(provctx);
95 prsactx->op = KEM_OP_RSASVE;
96 OSSL_FIPS_IND_INIT(prsactx)
98 return prsactx;
103 PROV_RSA_CTX *prsactx = (PROV_RSA_CTX *)vprsactx; local
105 RSA_free(prsactx->rsa);
106 OPENSSL_free(prsactx);
133 PROV_RSA_CTX *prsactx = (PROV_RSA_CTX *)vprsactx; local
200 PROV_RSA_CTX *prsactx = (PROV_RSA_CTX *)vprsactx; local
400 PROV_RSA_CTX *prsactx = (PROV_RSA_CTX *)vprsactx; local
416 PROV_RSA_CTX *prsactx = (PROV_RSA_CTX *)vprsactx; local
    [all...]
  /src/crypto/external/bsd/openssl/dist/providers/implementations/kem/
rsa_kem.c 85 PROV_RSA_CTX *prsactx = OPENSSL_zalloc(sizeof(PROV_RSA_CTX)); local
87 if (prsactx == NULL)
89 prsactx->libctx = PROV_LIBCTX_OF(provctx);
90 prsactx->op = KEM_OP_UNDEFINED;
92 return prsactx;
97 PROV_RSA_CTX *prsactx = (PROV_RSA_CTX *)vprsactx; local
99 RSA_free(prsactx->rsa);
100 OPENSSL_free(prsactx);
123 PROV_RSA_CTX *prsactx = (PROV_RSA_CTX *)vprsactx; local
125 if (prsactx == NULL || vrsa == NULL
170 PROV_RSA_CTX *prsactx = (PROV_RSA_CTX *)vprsactx; local
368 PROV_RSA_CTX *prsactx = (PROV_RSA_CTX *)vprsactx; local
381 PROV_RSA_CTX *prsactx = (PROV_RSA_CTX *)vprsactx; local
    [all...]
  /src/crypto/external/apache2/openssl/dist/providers/implementations/asymciphers/
rsa_enc.c 83 PROV_RSA_CTX *prsactx; local
87 prsactx = OPENSSL_zalloc(sizeof(PROV_RSA_CTX));
88 if (prsactx == NULL)
90 prsactx->libctx = PROV_LIBCTX_OF(provctx);
91 OSSL_FIPS_IND_INIT(prsactx)
93 return prsactx;
99 PROV_RSA_CTX *prsactx = (PROV_RSA_CTX *)vprsactx; local
102 if (!ossl_prov_is_running() || prsactx == NULL || vrsa == NULL)
109 RSA_free(prsactx->rsa);
110 prsactx->rsa = vrsa
153 PROV_RSA_CTX *prsactx = (PROV_RSA_CTX *)vprsactx; local
229 PROV_RSA_CTX *prsactx = (PROV_RSA_CTX *)vprsactx; local
320 PROV_RSA_CTX *prsactx = (PROV_RSA_CTX *)vprsactx; local
373 PROV_RSA_CTX *prsactx = (PROV_RSA_CTX *)vprsactx; local
462 PROV_RSA_CTX *prsactx = (PROV_RSA_CTX *)vprsactx; local
    [all...]
  /src/crypto/external/bsd/openssl/dist/providers/implementations/asymciphers/
rsa_enc.c 82 PROV_RSA_CTX *prsactx; local
86 prsactx = OPENSSL_zalloc(sizeof(PROV_RSA_CTX));
87 if (prsactx == NULL)
89 prsactx->libctx = PROV_LIBCTX_OF(provctx);
91 return prsactx;
97 PROV_RSA_CTX *prsactx = (PROV_RSA_CTX *)vprsactx; local
99 if (!ossl_prov_is_running() || prsactx == NULL || vrsa == NULL)
102 if (!ossl_rsa_check_key(prsactx->libctx, vrsa, operation))
107 RSA_free(prsactx->rsa);
108 prsactx->rsa = vrsa
138 PROV_RSA_CTX *prsactx = (PROV_RSA_CTX *)vprsactx; local
200 PROV_RSA_CTX *prsactx = (PROV_RSA_CTX *)vprsactx; local
289 PROV_RSA_CTX *prsactx = (PROV_RSA_CTX *)vprsactx; local
336 PROV_RSA_CTX *prsactx = (PROV_RSA_CTX *)vprsactx; local
426 PROV_RSA_CTX *prsactx = (PROV_RSA_CTX *)vprsactx; local
    [all...]
  /src/crypto/external/bsd/openssl/dist/providers/implementations/signature/
rsa_sig.c 113 #define rsa_pss_restricted(prsactx) (prsactx->min_saltlen != -1)
115 static size_t rsa_get_md_size(const PROV_RSA_CTX *prsactx)
117 if (prsactx->md != NULL)
118 return EVP_MD_get_size(prsactx->md);
122 static int rsa_check_padding(const PROV_RSA_CTX *prsactx,
126 switch(prsactx->pad_mode) {
140 if (rsa_pss_restricted(prsactx))
141 if ((mdname != NULL && !EVP_MD_is_a(prsactx->md, mdname))
143 && !EVP_MD_is_a(prsactx->mgf1_md, mgf1_mdname)))
175 PROV_RSA_CTX *prsactx = NULL; local
389 PROV_RSA_CTX *prsactx = (PROV_RSA_CTX *)vprsactx; local
517 PROV_RSA_CTX *prsactx = (PROV_RSA_CTX *)vprsactx; local
676 PROV_RSA_CTX *prsactx = (PROV_RSA_CTX *)vprsactx; local
764 PROV_RSA_CTX *prsactx = (PROV_RSA_CTX *)vprsactx; local
849 PROV_RSA_CTX *prsactx = (PROV_RSA_CTX *)vprsactx; local
886 PROV_RSA_CTX *prsactx = (PROV_RSA_CTX *)vprsactx; local
906 PROV_RSA_CTX *prsactx = (PROV_RSA_CTX *)vprsactx; local
943 PROV_RSA_CTX *prsactx = (PROV_RSA_CTX *)vprsactx; local
968 PROV_RSA_CTX *prsactx = (PROV_RSA_CTX *)vprsactx; local
1038 PROV_RSA_CTX *prsactx = (PROV_RSA_CTX *)vprsactx; local
1151 PROV_RSA_CTX *prsactx = (PROV_RSA_CTX *)vprsactx; local
1392 PROV_RSA_CTX *prsactx = (PROV_RSA_CTX *)vprsactx; local
1401 PROV_RSA_CTX *prsactx = (PROV_RSA_CTX *)vprsactx; local
1411 PROV_RSA_CTX *prsactx = (PROV_RSA_CTX *)vprsactx; local
1421 PROV_RSA_CTX *prsactx = (PROV_RSA_CTX *)vprsactx; local
1431 PROV_RSA_CTX *prsactx = (PROV_RSA_CTX *)vprsactx; local
    [all...]
  /src/crypto/external/apache2/openssl/dist/providers/implementations/signature/
rsa_sig.c 161 #define rsa_pss_restricted(prsactx) (prsactx->min_saltlen != -1)
163 static size_t rsa_get_md_size(const PROV_RSA_CTX *prsactx)
167 if (prsactx->md != NULL) {
168 md_size = EVP_MD_get_size(prsactx->md);
176 static int rsa_check_padding(const PROV_RSA_CTX *prsactx,
180 switch (prsactx->pad_mode) {
194 if (rsa_pss_restricted(prsactx))
195 if ((mdname != NULL && !EVP_MD_is_a(prsactx->md, mdname))
197 && !EVP_MD_is_a(prsactx->mgf1_md, mgf1_mdname)))
229 PROV_RSA_CTX *prsactx = NULL; local
660 PROV_RSA_CTX *prsactx = (PROV_RSA_CTX *)vprsactx; local
830 PROV_RSA_CTX *prsactx = (PROV_RSA_CTX *)vprsactx; local
847 PROV_RSA_CTX *prsactx = (PROV_RSA_CTX *)vprsactx; local
887 PROV_RSA_CTX *prsactx = (PROV_RSA_CTX *)vprsactx; local
913 PROV_RSA_CTX *prsactx = (PROV_RSA_CTX *)vprsactx; local
933 PROV_RSA_CTX *prsactx = (PROV_RSA_CTX *)vprsactx; local
1011 PROV_RSA_CTX *prsactx = (PROV_RSA_CTX *)vprsactx; local
1115 PROV_RSA_CTX *prsactx = (PROV_RSA_CTX *)vprsactx; local
1126 PROV_RSA_CTX *prsactx = (PROV_RSA_CTX *)vprsactx; local
1162 PROV_RSA_CTX *prsactx = (PROV_RSA_CTX *)vprsactx; local
1184 PROV_RSA_CTX *prsactx = (PROV_RSA_CTX *)vprsactx; local
1233 PROV_RSA_CTX *prsactx = (PROV_RSA_CTX *)vprsactx; local
1247 PROV_RSA_CTX *prsactx = (PROV_RSA_CTX *)vprsactx; local
1277 PROV_RSA_CTX *prsactx = (PROV_RSA_CTX *)vprsactx; local
1291 PROV_RSA_CTX *prsactx = (PROV_RSA_CTX *)vprsactx; local
1311 PROV_RSA_CTX *prsactx = (PROV_RSA_CTX *)vprsactx; local
1387 PROV_RSA_CTX *prsactx = (PROV_RSA_CTX *)vprsactx; local
1531 PROV_RSA_CTX *prsactx = (PROV_RSA_CTX *)vprsactx; local
1809 PROV_RSA_CTX *prsactx = (PROV_RSA_CTX *)vprsactx; local
1818 PROV_RSA_CTX *prsactx = (PROV_RSA_CTX *)vprsactx; local
1828 PROV_RSA_CTX *prsactx = (PROV_RSA_CTX *)vprsactx; local
1838 PROV_RSA_CTX *prsactx = (PROV_RSA_CTX *)vprsactx; local
1848 PROV_RSA_CTX *prsactx = (PROV_RSA_CTX *)vprsactx; local
1920 PROV_RSA_CTX *prsactx = (PROV_RSA_CTX *)vprsactx; local
1974 PROV_RSA_CTX *prsactx = (PROV_RSA_CTX *)vprsactx; local
1983 PROV_RSA_CTX *prsactx = (PROV_RSA_CTX *)vprsactx; local
    [all...]

Completed in 17 milliseconds