Lines Matching full:ecdsa
106 } else if (strncmp(pkey->pkey_algo, "ecdsa", 5) == 0) { in software_key_determine_akcipher()
110 * ECDSA signatures are taken over a raw hash, so they don't in software_key_determine_akcipher()
113 * Unfortunately, in practice ECDSA is used with multiple SHAs, in software_key_determine_akcipher()
229 if (strncmp(pkey->pkey_algo, "ecdsa", 5) == 0) { in software_key_query()
232 * ECDSA key sizes are much smaller than RSA, and thus could in software_key_query()
241 * Verify takes ECDSA-Sig (described in RFC 5480) as input, in software_key_query()
248 if (strcmp(pkey->pkey_algo, "ecdsa-nist-p521") != 0) in software_key_query()
406 * Small exception: ECDSA signatures don't specify the curve, but ECDSA in public_key_verify_signature()
408 * "ecdsa-nist-*" for the key, but "ecdsa" for the signature. in public_key_verify_signature()
412 (strncmp(pkey->pkey_algo, "ecdsa-", 6) != 0 || in public_key_verify_signature()
413 strcmp(sig->pkey_algo, "ecdsa") != 0)) in public_key_verify_signature()