Home
last modified time | relevance | path

Searched refs:last_oid (Results 1 – 3 of 3) sorted by relevance

/linux-5.19.10/crypto/asymmetric_keys/
Dx509_cert_parser.c27 enum OID last_oid; /* Last OID encountered */ member
159 ctx->last_oid = look_up_OID(value, vlen); in x509_note_OID()
160 if (ctx->last_oid == OID__NR) { in x509_note_OID()
195 pr_debug("PubKey Algo: %u\n", ctx->last_oid); in x509_note_sig_algo()
197 switch (ctx->last_oid) { in x509_note_sig_algo()
263 ctx->sig_algo = ctx->last_oid; in x509_note_sig_algo()
268 ctx->sig_algo = ctx->last_oid; in x509_note_sig_algo()
273 ctx->sig_algo = ctx->last_oid; in x509_note_sig_algo()
278 ctx->sig_algo = ctx->last_oid; in x509_note_sig_algo()
291 pr_debug("Signature: alg=%u, size=%zu\n", ctx->last_oid, vlen); in x509_note_signature()
[all …]
Dpkcs7_parser.c30 enum OID last_oid; /* Last OID encountered */ member
210 ctx->last_oid = look_up_OID(value, vlen); in pkcs7_note_OID()
211 if (ctx->last_oid == OID__NR) { in pkcs7_note_OID()
229 switch (ctx->last_oid) { in pkcs7_sig_note_digest_algo()
252 printk("Unsupported digest algo: %u\n", ctx->last_oid); in pkcs7_sig_note_digest_algo()
267 switch (ctx->last_oid) { in pkcs7_sig_note_pkey_algo()
281 printk("Unsupported pkey algo: %u\n", ctx->last_oid); in pkcs7_sig_note_pkey_algo()
296 if (ctx->last_oid != OID_signed_data) { in pkcs7_check_content_type()
448 if (ctx->last_oid != OID_data && in pkcs7_note_content()
449 ctx->last_oid != OID_msIndirectData) { in pkcs7_note_content()
[all …]
Dpkcs8_parser.c23 enum OID last_oid; /* Last OID encountered */ member
39 ctx->last_oid = look_up_OID(value, vlen); in pkcs8_note_OID()
40 if (ctx->last_oid == OID__NR) { in pkcs8_note_OID()
73 if (ctx->last_oid != OID_rsaEncryption) in pkcs8_note_algo()