Lines Matching refs:pkey_algo
261 ctx->cert->sig->pkey_algo = "rsa"; in x509_note_sig_algo()
266 ctx->cert->sig->pkey_algo = "ecrdsa"; in x509_note_sig_algo()
271 ctx->cert->sig->pkey_algo = "sm2"; in x509_note_sig_algo()
276 ctx->cert->sig->pkey_algo = "ecdsa"; in x509_note_sig_algo()
304 if (strcmp(ctx->cert->sig->pkey_algo, "rsa") == 0 || in x509_note_signature()
305 strcmp(ctx->cert->sig->pkey_algo, "ecrdsa") == 0 || in x509_note_signature()
306 strcmp(ctx->cert->sig->pkey_algo, "sm2") == 0 || in x509_note_signature()
307 strcmp(ctx->cert->sig->pkey_algo, "ecdsa") == 0) { in x509_note_signature()
505 ctx->cert->pub->pkey_algo = "rsa"; in x509_extract_key_data()
509 ctx->cert->pub->pkey_algo = "ecrdsa"; in x509_extract_key_data()
512 ctx->cert->pub->pkey_algo = "sm2"; in x509_extract_key_data()
520 ctx->cert->pub->pkey_algo = "sm2"; in x509_extract_key_data()
523 ctx->cert->pub->pkey_algo = "ecdsa-nist-p192"; in x509_extract_key_data()
526 ctx->cert->pub->pkey_algo = "ecdsa-nist-p256"; in x509_extract_key_data()
529 ctx->cert->pub->pkey_algo = "ecdsa-nist-p384"; in x509_extract_key_data()