Lines Matching defs:encoding
62 * Given a public_key, and an encoding and hash_algo to be used for signing
64 * akcipher algorithm. Also check that encoding and hash_algo are allowed.
68 const char *encoding, const char *hash_algo,
76 if (!encoding)
83 if (strcmp(encoding, "pkcs1") == 0) {
97 if (strcmp(encoding, "raw") != 0)
107 if (strcmp(encoding, "x962") != 0)
128 if (strcmp(encoding, "raw") != 0)
135 if (strcmp(encoding, "raw") != 0)
171 ret = software_key_determine_akcipher(pkey, params->encoding,
208 if (strcmp(params->encoding, "pkcs1") == 0) {
249 * ASN.1. Account for the ASN.1 encoding overhead here.
290 ret = software_key_determine_akcipher(pkey, params->encoding,
412 ret = software_key_determine_akcipher(pkey, sig->encoding,