| /netbsd-src/crypto/external/bsd/openssl/dist/crypto/rsa/ |
| H A D | rsa_backend.c | 171 int ossl_rsa_pss_params_30_todata(const RSA_PSS_PARAMS_30 *pss, in ossl_rsa_pss_params_30_todata() argument 174 if (!ossl_rsa_pss_params_30_is_unrestricted(pss)) { in ossl_rsa_pss_params_30_todata() 175 int hashalg_nid = ossl_rsa_pss_params_30_hashalg(pss); in ossl_rsa_pss_params_30_todata() 176 int maskgenalg_nid = ossl_rsa_pss_params_30_maskgenalg(pss); in ossl_rsa_pss_params_30_todata() 177 int maskgenhashalg_nid = ossl_rsa_pss_params_30_maskgenhashalg(pss); in ossl_rsa_pss_params_30_todata() 178 int saltlen = ossl_rsa_pss_params_30_saltlen(pss); in ossl_rsa_pss_params_30_todata() 411 if (rsa->pss != NULL) { in ossl_rsa_dup() 412 dupkey->pss = RSA_PSS_PARAMS_dup(rsa->pss); in ossl_rsa_dup() 413 if (rsa->pss->maskGenAlgorithm != NULL in ossl_rsa_dup() 414 && dupkey->pss->maskGenAlgorithm == NULL) { in ossl_rsa_dup() [all …]
|
| H A D | rsa_ameth.c | 41 if (rsa->pss == NULL) { in rsa_param_encode() 46 if (ASN1_item_pack(rsa->pss, ASN1_ITEM_rptr(RSA_PSS_PARAMS), pstr) == NULL) in rsa_param_encode() 205 static int rsa_pss_param_print(BIO *bp, int pss_key, RSA_PSS_PARAMS *pss, in rsa_pss_param_print() argument 214 if (pss == NULL) { in rsa_pss_param_print() 222 } else if (pss == NULL) { in rsa_pss_param_print() 236 if (pss->hashAlgorithm) { in rsa_pss_param_print() 237 if (i2a_ASN1_OBJECT(bp, pss->hashAlgorithm->algorithm) <= 0) in rsa_pss_param_print() 251 if (pss->maskGenAlgorithm) { in rsa_pss_param_print() 252 if (i2a_ASN1_OBJECT(bp, pss->maskGenAlgorithm->algorithm) <= 0) in rsa_pss_param_print() 256 maskHash = ossl_x509_algor_mgf1_decode(pss->maskGenAlgorithm); in rsa_pss_param_print() [all …]
|
| H A D | rsa_asn1.c | 81 RSA_PSS_PARAMS *pss = (RSA_PSS_PARAMS *)*pval; variable 82 X509_ALGOR_free(pss->maskHash);
|
| /netbsd-src/crypto/external/bsd/openssl.old/dist/crypto/rsa/ |
| H A D | rsa_ameth.c | 42 if (rsa->pss == NULL) { in rsa_param_encode() 47 if (ASN1_item_pack(rsa->pss, ASN1_ITEM_rptr(RSA_PSS_PARAMS), pstr) == NULL) in rsa_param_encode() 69 rsa->pss = rsa_pss_decode(alg); in rsa_param_decode() 70 if (rsa->pss == NULL) in rsa_param_decode() 232 static int rsa_pss_param_print(BIO *bp, int pss_key, RSA_PSS_PARAMS *pss, in rsa_pss_param_print() argument 241 if (pss == NULL) { in rsa_pss_param_print() 249 } else if (pss == NULL) { in rsa_pss_param_print() 263 if (pss->hashAlgorithm) { in rsa_pss_param_print() 264 if (i2a_ASN1_OBJECT(bp, pss->hashAlgorithm->algorithm) <= 0) in rsa_pss_param_print() 278 if (pss->maskGenAlgorithm) { in rsa_pss_param_print() [all …]
|
| H A D | rsa_local.h | 49 RSA_PSS_PARAMS *pss; member 125 int rsa_pss_get_param(const RSA_PSS_PARAMS *pss, const EVP_MD **pmd,
|
| /netbsd-src/crypto/external/bsd/openssl/dist/test/recipes/30-test_evp_data/ |
| H A D | evppkey_rsa.txt | 256 Ctrl = rsa_padding_mode:pss 289 Ctrl = rsa_padding_mode:pss 295 Ctrl = rsa_padding_mode:pss 301 Ctrl = rsa_padding_mode:pss 307 Ctrl = rsa_padding_mode:pss 313 Ctrl = rsa_padding_mode:pss 319 Ctrl = rsa_padding_mode:pss 334 Ctrl = rsa_padding_mode:pss 340 Ctrl = rsa_padding_mode:pss 346 Ctrl = rsa_padding_mode:pss [all …]
|
| /netbsd-src/external/gpl3/binutils/dist/bfd/ |
| H A D | lynx-core.c | 92 struct pssentry pss; in lynx_core_file_p() local 108 amt = sizeof pss; in lynx_core_file_p() 109 if (bfd_read (&pss, amt, abfd) != amt) in lynx_core_file_p() 123 strncpy (core_command (abfd), pss.pname, PNMLEN + 1); in lynx_core_file_p() 127 tcontext_size = pss.threadcnt * sizeof (core_st_t); in lynx_core_file_p() 141 pss.ssize, in lynx_core_file_p() 142 pss.slimit, in lynx_core_file_p() 149 pss.data_len + pss.bss_len, in lynx_core_file_p() 150 pss.data_start, in lynx_core_file_p() 151 pagesize + tcontext_size + pss.ssize in lynx_core_file_p() [all …]
|
| /netbsd-src/external/gpl3/binutils.old/dist/bfd/ |
| H A D | lynx-core.c | 92 struct pssentry pss; in lynx_core_file_p() local 108 amt = sizeof pss; in lynx_core_file_p() 109 if (bfd_bread ((void *) &pss, amt, abfd) != amt) in lynx_core_file_p() 123 strncpy (core_command (abfd), pss.pname, PNMLEN + 1); in lynx_core_file_p() 127 tcontext_size = pss.threadcnt * sizeof (core_st_t); in lynx_core_file_p() 141 pss.ssize, in lynx_core_file_p() 142 pss.slimit, in lynx_core_file_p() 149 pss.data_len + pss.bss_len, in lynx_core_file_p() 150 pss.data_start, in lynx_core_file_p() 151 pagesize + tcontext_size + pss.ssize in lynx_core_file_p() [all …]
|
| /netbsd-src/external/gpl3/gcc/dist/libgcc/ |
| H A D | generic-morestack.c | 391 struct stack_segment *pss; in allocate_segment() local 436 pss = (struct stack_segment *) space; in allocate_segment() 438 pss->prev = NULL; in allocate_segment() 439 pss->next = NULL; in allocate_segment() 440 pss->size = allocate - overhead; in allocate_segment() 441 pss->dynamic_allocation = NULL; in allocate_segment() 442 pss->free_dynamic_allocation = NULL; in allocate_segment() 443 pss->extra = NULL; in allocate_segment() 445 return pss; in allocate_segment() 489 struct stack_segment *pss; in __morestack_release_segments() local [all …]
|
| /netbsd-src/external/gpl3/gcc.old/dist/libgcc/ |
| H A D | generic-morestack.c | 391 struct stack_segment *pss; in allocate_segment() local 436 pss = (struct stack_segment *) space; in allocate_segment() 438 pss->prev = NULL; in allocate_segment() 439 pss->next = NULL; in allocate_segment() 440 pss->size = allocate - overhead; in allocate_segment() 441 pss->dynamic_allocation = NULL; in allocate_segment() 442 pss->free_dynamic_allocation = NULL; in allocate_segment() 443 pss->extra = NULL; in allocate_segment() 445 return pss; in allocate_segment() 489 struct stack_segment *pss; in __morestack_release_segments() local [all …]
|
| /netbsd-src/crypto/external/bsd/openssl/dist/providers/common/der/ |
| H A D | der_rsa_key.c | 248 const RSA_PSS_PARAMS_30 *pss) in DER_w_MaskGenAlgorithm() argument 250 if (pss != NULL && ossl_rsa_pss_params_30_maskgenalg(pss) == NID_mgf1) { in DER_w_MaskGenAlgorithm() 251 int maskgenhashalg_nid = ossl_rsa_pss_params_30_maskgenhashalg(pss); in DER_w_MaskGenAlgorithm() 284 const RSA_PSS_PARAMS_30 *pss) in ossl_DER_w_RSASSA_PSS_params() argument 300 if (!ossl_assert(pss != NULL in ossl_DER_w_RSASSA_PSS_params() 301 && !ossl_rsa_pss_params_30_is_unrestricted(pss))) in ossl_DER_w_RSASSA_PSS_params() 304 hashalg_nid = ossl_rsa_pss_params_30_hashalg(pss); in ossl_DER_w_RSASSA_PSS_params() 305 saltlen = ossl_rsa_pss_params_30_saltlen(pss); in ossl_DER_w_RSASSA_PSS_params() 306 trailerfield = ossl_rsa_pss_params_30_trailerfield(pss); in ossl_DER_w_RSASSA_PSS_params() 352 && DER_w_MaskGenAlgorithm(pkt, 1, pss) in ossl_DER_w_RSASSA_PSS_params() [all …]
|
| /netbsd-src/external/gpl3/gcc/dist/libiberty/ |
| H A D | physmem.c | 96 struct pst_static pss; in physmem_total() local 97 if (0 <= pstat_getstatic (&pss, sizeof pss, 1, 0)) in physmem_total() 99 double pages = pss.physical_memory; in physmem_total() 100 double pagesize = pss.page_size; in physmem_total() 200 struct pst_static pss; in physmem_available() local 202 if (0 <= pstat_getstatic (&pss, sizeof pss, 1, 0) in physmem_available() 206 double pagesize = pss.page_size; in physmem_available()
|
| /netbsd-src/external/gpl3/binutils/dist/libiberty/ |
| H A D | physmem.c | 96 struct pst_static pss; in physmem_total() local 97 if (0 <= pstat_getstatic (&pss, sizeof pss, 1, 0)) in physmem_total() 99 double pages = pss.physical_memory; in physmem_total() 100 double pagesize = pss.page_size; in physmem_total() 200 struct pst_static pss; in physmem_available() local 202 if (0 <= pstat_getstatic (&pss, sizeof pss, 1, 0) in physmem_available() 206 double pagesize = pss.page_size; in physmem_available()
|
| /netbsd-src/external/gpl3/binutils.old/dist/libiberty/ |
| H A D | physmem.c | 96 struct pst_static pss; in physmem_total() local 97 if (0 <= pstat_getstatic (&pss, sizeof pss, 1, 0)) in physmem_total() 99 double pages = pss.physical_memory; in physmem_total() 100 double pagesize = pss.page_size; in physmem_total() 200 struct pst_static pss; in physmem_available() local 202 if (0 <= pstat_getstatic (&pss, sizeof pss, 1, 0) in physmem_available() 206 double pagesize = pss.page_size; in physmem_available()
|
| /netbsd-src/external/gpl3/gcc.old/dist/libiberty/ |
| H A D | physmem.c | 96 struct pst_static pss; in physmem_total() local 97 if (0 <= pstat_getstatic (&pss, sizeof pss, 1, 0)) in physmem_total() 99 double pages = pss.physical_memory; in physmem_total() 100 double pagesize = pss.page_size; in physmem_total() 200 struct pst_static pss; in physmem_available() local 202 if (0 <= pstat_getstatic (&pss, sizeof pss, 1, 0) in physmem_available() 206 double pagesize = pss.page_size; in physmem_available()
|
| /netbsd-src/crypto/external/bsd/openssl.old/dist/test/certs/ |
| H A D | setup.sh | 383 ./mkcert.sh genee PSS-SHA1 ee-key ee-pss-sha1-cert ca-key ca-cert \ 384 -sha1 -sigopt rsa_padding_mode:pss -sigopt rsa_pss_saltlen:digest 386 ./mkcert.sh genee PSS-SHA256 ee-key ee-pss-sha256-cert ca-key ca-cert \ 387 -sha256 -sigopt rsa_padding_mode:pss -sigopt rsa_pss_saltlen:digest 389 ./mkcert.sh genca "CA-PSS" ca-pss-key ca-pss-cert root-key root-cert \ 390 -sha256 -sigopt rsa_padding_mode:pss -sigopt rsa_pss_saltlen:-1 391 ./mkcert.sh genee "EE-PSS" ee-key ee-pss-cert ca-pss-key ca-pss-cert \ 392 -sha256 -sigopt rsa_padding_mode:pss -sigopt rsa_pss_saltlen:-1 399 -newkey rsa-pss -keyout server-pss-restrict-key.pem \ 402 server-pss-restrict-cert rootkey rootcert
|
| /netbsd-src/crypto/external/bsd/openssl/dist/test/certs/ |
| H A D | setup.sh | 404 ./mkcert.sh genee PSS-SHA1 ee-key ee-pss-sha1-cert ca-key ca-cert \ 405 -sha1 -sigopt rsa_padding_mode:pss -sigopt rsa_pss_saltlen:digest 407 ./mkcert.sh genee PSS-SHA256 ee-key ee-pss-sha256-cert ca-key ca-cert \ 408 -sha256 -sigopt rsa_padding_mode:pss -sigopt rsa_pss_saltlen:digest 410 ./mkcert.sh genca "CA-PSS" ca-pss-key ca-pss-cert root-key root-cert \ 411 -sha256 -sigopt rsa_padding_mode:pss -sigopt rsa_pss_saltlen:-1 412 ./mkcert.sh genee "EE-PSS" ee-key ee-pss-cert ca-pss-key ca-pss-cert \ 413 -sha256 -sigopt rsa_padding_mode:pss -sigopt rsa_pss_saltlen:-1 422 -newkey rsa-pss -keyout server-pss-restrict-key.pem \ 425 server-pss-restrict-cert rootkey rootcert
|
| /netbsd-src/sys/dev/raidframe/ |
| H A D | rf_psstatus.c | 76 pool_destroy(&raidPtr->pools.pss); in rf_ShutdownPSStatus() 84 …rf_pool_init(raidPtr, raidPtr->poolNames.pss, &raidPtr->pools.pss, sizeof(RF_ReconParityStripeStat… in rf_ConfigurePSStatus() 274 return pool_get(&raidPtr->pools.pss, PR_WAITOK | PR_ZERO); in rf_AllocPSStatus() 284 pool_put(&raidPtr->pools.pss, p); in rf_FreePSStatus()
|
| H A D | rf_netbsd.h | 75 struct pool pss; /* Parity Stripe Status */ member 101 char pss[RF_MAX_POOLNAMELEN]; /* Parity Stripe Status */ member
|
| /netbsd-src/crypto/external/bsd/openssl/dist/include/crypto/ |
| H A D | rsa.h | 71 int ossl_rsa_pss_params_30_todata(const RSA_PSS_PARAMS_30 *pss, 77 int ossl_rsa_set0_pss_params(RSA *r, RSA_PSS_PARAMS *pss); 78 int ossl_rsa_pss_get_param_unverified(const RSA_PSS_PARAMS *pss,
|
| /netbsd-src/crypto/external/bsd/openssl/dist/providers/common/include/prov/ |
| H A D | der_rsa.h.in | 25 const RSA_PSS_PARAMS_30 *pss); 30 const RSA_PSS_PARAMS_30 *pss);
|
| /netbsd-src/crypto/external/bsd/openssl/dist/doc/man7/ |
| H A D | EVP_SIGNATURE-RSA.pod | 39 =item "pss" (B<OSSL_PKEY_RSA_PAD_MODE_PSS>) 45 The digest algorithm name to use for the maskGenAlgorithm used by "pss" mode. 54 The "pss" mode minimum salt length. The value can either be an integer,
|
| /netbsd-src/crypto/external/bsd/openssl/lib/libdefault/prov/ |
| H A D | der_rsa.h | 179 const RSA_PSS_PARAMS_30 *pss); 184 const RSA_PSS_PARAMS_30 *pss);
|
| /netbsd-src/crypto/external/bsd/openssl.old/dist/test/ssl-tests/ |
| H A D | 20-cert-select.conf.in | 23 "PSS.Certificate" => test_pem("server-pss-cert.pem"), 24 "PSS.PrivateKey" => test_pem("server-pss-key.pem"), 35 "Certificate" => test_pem("server-pss-cert.pem"), 36 "PrivateKey" => test_pem("server-pss-key.pem"), 40 "Certificate" => test_pem("server-pss-restrict-cert.pem"), 41 "PrivateKey" => test_pem("server-pss-restrict-key.pem"), 46 "PSS.Certificate" => test_pem("server-pss-cert.pem"), 47 "PSS.PrivateKey" => test_pem("server-pss-key.pem"), 586 "PSS.Certificate" => test_pem("server-pss-cert.pem"), 587 "PSS.PrivateKey" => test_pem("server-pss-key.pem"),
|
| H A D | 20-cert-select.conf | 312 PSS.Certificate = ${ENV::TEST_CERTS_DIR}/server-pss-cert.pem 313 PSS.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-pss-key.pem 702 PSS.Certificate = ${ENV::TEST_CERTS_DIR}/server-pss-cert.pem 703 PSS.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-pss-key.pem 738 PSS.Certificate = ${ENV::TEST_CERTS_DIR}/server-pss-cert.pem 739 PSS.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-pss-key.pem 765 Certificate = ${ENV::TEST_CERTS_DIR}/server-pss-cert.pem 767 PrivateKey = ${ENV::TEST_CERTS_DIR}/server-pss-key.pem 791 Certificate = ${ENV::TEST_CERTS_DIR}/server-pss-cert.pem 793 PrivateKey = ${ENV::TEST_CERTS_DIR}/server-pss-key.pem [all …]
|