Home
last modified time | relevance | path

Searched refs:sig_params (Results 1 – 8 of 8) sorted by relevance

/third_party/fsverity-utils/programs/
Dcmd_sign.c49 struct libfsverity_signature_params sig_params = {}; in fsverity_cmd_sign() local
60 if (sig_params.keyfile != NULL) { in fsverity_cmd_sign()
64 sig_params.keyfile = optarg; in fsverity_cmd_sign()
67 if (sig_params.certfile != NULL) { in fsverity_cmd_sign()
71 sig_params.certfile = optarg; in fsverity_cmd_sign()
74 if (sig_params.pkcs11_engine != NULL) { in fsverity_cmd_sign()
78 sig_params.pkcs11_engine = optarg; in fsverity_cmd_sign()
81 if (sig_params.pkcs11_module != NULL) { in fsverity_cmd_sign()
85 sig_params.pkcs11_module = optarg; in fsverity_cmd_sign()
88 if (sig_params.pkcs11_keyid != NULL) { in fsverity_cmd_sign()
[all …]
/third_party/fsverity-utils/lib/
Dsign_digest.c225 load_pkcs11_private_key(const struct libfsverity_signature_params *sig_params in load_pkcs11_private_key() argument
337 load_pkcs11_private_key(const struct libfsverity_signature_params *sig_params, in load_pkcs11_private_key() argument
342 if (!sig_params->pkcs11_engine) { in load_pkcs11_private_key()
346 if (!sig_params->pkcs11_module) { in load_pkcs11_private_key()
357 sig_params->pkcs11_engine, 0) || in load_pkcs11_private_key()
362 sig_params->pkcs11_module, 0) || in load_pkcs11_private_key()
368 *pkey_ret = ENGINE_load_private_key(engine, sig_params->pkcs11_keyid, in load_pkcs11_private_key()
383 get_private_key(const struct libfsverity_signature_params *sig_params, in get_private_key() argument
386 if (sig_params->pkcs11_engine || sig_params->pkcs11_module || in get_private_key()
387 sig_params->pkcs11_keyid) { in get_private_key()
[all …]
/third_party/mbedtls/library/
Dx509_csr.c240 mbedtls_x509_buf sig_params; in mbedtls_x509_csr_parse_der() local
242 memset(&sig_params, 0, sizeof(mbedtls_x509_buf)); in mbedtls_x509_csr_parse_der()
372 if ((ret = mbedtls_x509_get_alg(&p, end, &csr->sig_oid, &sig_params)) != 0) { in mbedtls_x509_csr_parse_der()
377 if ((ret = mbedtls_x509_get_sig_alg(&csr->sig_oid, &sig_params, in mbedtls_x509_csr_parse_der()
Dx509.c750 int mbedtls_x509_get_sig_alg(const mbedtls_x509_buf *sig_oid, const mbedtls_x509_buf *sig_params, in mbedtls_x509_get_sig_alg() argument
773 ret = mbedtls_x509_get_rsassa_pss_params(sig_params, in mbedtls_x509_get_sig_alg()
787 if ((sig_params->tag != MBEDTLS_ASN1_NULL && sig_params->tag != 0) || in mbedtls_x509_get_sig_alg()
788 sig_params->len != 0) { in mbedtls_x509_get_sig_alg()
/third_party/openssl/test/
Devp_extra_test2.c1150 OSSL_PARAM sig_params[3]; in test_rsa_pss_sign() local
1156 sig_params[0] = OSSL_PARAM_construct_int(OSSL_PKEY_PARAM_PAD_MODE, in test_rsa_pss_sign()
1158 sig_params[1] = OSSL_PARAM_construct_utf8_string(OSSL_SIGNATURE_PARAM_DIGEST, in test_rsa_pss_sign()
1160 sig_params[2] = OSSL_PARAM_construct_end(); in test_rsa_pss_sign()
1165 && TEST_int_gt(EVP_PKEY_sign_init_ex(pctx, sig_params), 0) in test_rsa_pss_sign()
/third_party/fsverity-utils/include/
Dlibfsverity.h211 const struct libfsverity_signature_params *sig_params,
/third_party/mbedtls/include/mbedtls/
Dx509.h428 int mbedtls_x509_get_sig_alg(const mbedtls_x509_buf *sig_oid, const mbedtls_x509_buf *sig_params,
/third_party/python/Lib/
Dinspect.py2447 sig_params = tuple(sig.parameters.values())
2448 assert (not sig_params or
2449 first_wrapped_param is not sig_params[0])
2450 new_params = (first_wrapped_param,) + sig_params