Lines Matching full: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, in software_key_determine_akcipher() argument
76 if (!encoding) in software_key_determine_akcipher()
83 if (strcmp(encoding, "pkcs1") == 0) { in software_key_determine_akcipher()
97 if (strcmp(encoding, "raw") != 0) in software_key_determine_akcipher()
107 if (strcmp(encoding, "x962") != 0) in software_key_determine_akcipher()
128 if (strcmp(encoding, "raw") != 0) in software_key_determine_akcipher()
164 ret = software_key_determine_akcipher(pkey, params->encoding, in software_key_query()
201 if (strcmp(params->encoding, "pkcs1") == 0) { in software_key_query()
243 * ASN.1. Account for the ASN.1 encoding overhead here. in software_key_query()
250 /* Length of encoding the x & y coordinates */ in software_key_query()
253 * If coordinate encoding takes at least 128 bytes then an in software_key_query()
254 * additional byte for length encoding is needed. in software_key_query()
295 ret = software_key_determine_akcipher(pkey, params->encoding, in software_key_eds_op()
417 ret = software_key_determine_akcipher(pkey, sig->encoding, in public_key_verify_signature()