Searched refs:cert (Results 1 - 13 of 13) sorted by relevance

/linux-master/crypto/asymmetric_keys/
H A Dx509_public_key.c25 int x509_get_sig_params(struct x509_certificate *cert) argument
27 struct public_key_signature *sig = cert->sig;
35 sig->s = kmemdup(cert->raw_sig, cert->raw_sig_size, GFP_KERNEL);
39 sig->s_size = cert->raw_sig_size;
47 cert->unsupported_sig = true;
67 if (strcmp(cert->pub->pkey_algo, "sm2") == 0) {
70 sm2_compute_z_digest(desc, cert->pub->key,
71 cert->pub->keylen, sig->digest) ?:
75 crypto_shash_finup(desc, cert
106 x509_check_for_self_signed(struct x509_certificate *cert) argument
165 struct x509_certificate *cert; local
[all...]
H A Dx509_cert_parser.c20 struct x509_certificate *cert; /* Certificate being constructed */ member in struct:x509_parse_context
26 enum OID key_algo; /* Algorithm used by the cert's key */
28 enum OID sig_algo; /* Algorithm used to sign the cert */
44 void x509_free_certificate(struct x509_certificate *cert) argument
46 if (cert) {
47 public_key_free(cert->pub);
48 public_key_signature_free(cert->sig);
49 kfree(cert->issuer);
50 kfree(cert->subject);
51 kfree(cert
63 struct x509_certificate *cert; local
[all...]
H A Dx509_parser.h46 extern void x509_free_certificate(struct x509_certificate *cert);
55 extern int x509_get_sig_params(struct x509_certificate *cert);
56 extern int x509_check_for_self_signed(struct x509_certificate *cert);
H A Dpkcs7_parser.c59 struct x509_certificate *cert; local
64 cert = pkcs7->certs;
65 pkcs7->certs = cert->next;
66 x509_free_certificate(cert);
69 cert = pkcs7->crl;
70 pkcs7->crl = cert->next;
71 x509_free_certificate(cert);
157 struct x509_certificate *cert = ctx->certs; local
158 ctx->certs = cert->next;
159 x509_free_certificate(cert);
[all...]
/linux-master/arch/s390/boot/
H A Dipl_report.c31 struct ipl_rb_certificate_entry *cert; local
42 for_each_rb_entry(cert, certs)
43 ipl_cert_list_size += sizeof(unsigned int) + cert->len;
50 struct ipl_rb_certificate_entry *cert; local
55 for_each_rb_entry(cert, certs) {
56 if (intersects(addr, size, cert->addr, cert->len)) {
57 *intersection_start = cert->addr;
75 struct ipl_rb_certificate_entry *cert; local
79 for_each_rb_entry(cert, cert
[all...]
/linux-master/certs/
H A DMakefile26 cmd_extract_certs = $(obj)/extract-cert "$(extract-cert-in)" $@
27 extract-cert-in = $(filter-out $(obj)/extract-cert, $(real-prereqs))
31 $(obj)/x509_certificate_list: $(CONFIG_SYSTEM_TRUSTED_KEYS) $(obj)/extract-cert FORCE
70 $(obj)/signing_key.x509: extract-cert-in := $(PKCS11_URI)
73 $(obj)/signing_key.x509: $(filter-out $(PKCS11_URI),$(CONFIG_MODULE_SIG_KEY)) $(obj)/extract-cert FORCE
80 $(obj)/x509_revocation_list: $(CONFIG_SYSTEM_REVOCATION_KEYS) $(obj)/extract-cert FORCE
85 hostprogs := extract-cert
87 HOSTCFLAGS_extract-cert
[all...]
H A Dextract-cert.c39 "Usage: extract-cert <source> <dest>\n");
94 fprintf(stderr, "Extracted cert: %s\n", buf);
128 X509 *cert; member in struct:__anon1
132 parms.cert = NULL;
145 ERR(!parms.cert, "Get X.509 from PKCS#11");
146 write_cert(parms.cert);
/linux-master/drivers/staging/greybus/Documentation/firmware/
H A Dauthenticate.c19 struct cap_ioc_get_ims_certificate cert = { variable in typeref:struct:cap_ioc_get_ims_certificate
66 ret = ioctl(fd, CAP_IOC_GET_IMS_CERTIFICATE, &cert);
73 printf("IMS Certificate size: %d\n", cert.cert_size);
/linux-master/scripts/
H A Dremove-stale-files27 rm -f scripts/extract-cert
H A DMakefile11 hostprogs-always-$(CONFIG_SYSTEM_EXTRA_CERTIFICATE) += insert-sys-cert
H A Dinsert-sys-cert.c10 * Usage: insert-sys-cert [-s <System.map> -b <vmlinux> -c <certfile>
281 char *cert; local
310 cert = read_file(cert_file, &cert_size);
311 if (!cert)
388 /* If the existing cert is the same, don't overwrite */
390 strncmp(cert_sym.content, cert, cert_size) == 0) {
398 memcpy(cert_sym.content, cert, cert_size);
/linux-master/arch/s390/kernel/
H A Dipl.c2391 unsigned char flags, unsigned short cert)
2403 comp->entry.certificate_index = cert;
2413 struct ipl_report_certificate *cert; local
2415 cert = vzalloc(sizeof(*cert));
2416 if (!cert)
2418 list_add_tail(&cert->list, &report->certificates);
2420 cert->entry.addr = addr;
2421 cert->entry.len = len;
2422 cert
2390 ipl_report_add_component(struct ipl_report *report, struct kexec_buf *kbuf, unsigned char flags, unsigned short cert) argument
2452 struct ipl_report_certificate *cert; local
2508 struct ipl_report_certificate *cert, *ncert; local
[all...]
/linux-master/arch/s390/include/asm/
H A Dipl.h139 unsigned char flags, unsigned short cert);

Completed in 153 milliseconds