Home
last modified time | relevance | path

Searched refs:siglen (Results 1 – 12 of 12) sorted by relevance

/linux-6.6.21/security/integrity/
Ddigsig_asymmetric.c83 int siglen, const char *data, int datalen) in asymmetric_verify() argument
91 if (siglen <= sizeof(*hdr)) in asymmetric_verify()
94 siglen -= sizeof(*hdr); in asymmetric_verify()
96 if (siglen != be16_to_cpu(hdr->sig_size)) in asymmetric_verify()
128 pks.s_size = siglen; in asymmetric_verify()
Ddigsig.c61 int integrity_digsig_verify(const unsigned int id, const char *sig, int siglen, in integrity_digsig_verify() argument
66 if (siglen < 2) in integrity_digsig_verify()
76 return digsig_verify(keyring, sig + 1, siglen - 1, digest, in integrity_digsig_verify()
80 return asymmetric_verify(keyring, sig, siglen, digest, in integrity_digsig_verify()
Dintegrity.h198 int integrity_digsig_verify(const unsigned int id, const char *sig, int siglen,
209 const char *sig, int siglen, in integrity_digsig_verify() argument
237 int siglen, const char *data, int datalen);
240 int siglen, const char *data, int datalen) in asymmetric_verify() argument
/linux-6.6.21/lib/
Ddigsig.c68 const char *sig, int siglen, in digsig_verify_rsa() argument
134 nret = siglen; in digsig_verify_rsa()
199 int digsig_verify(struct key *keyring, const char *sig, int siglen, in digsig_verify() argument
209 if (siglen < sizeof(*sh) + 2) in digsig_verify()
249 err = digsig_verify_rsa(key, sig + sizeof(*sh), siglen - sizeof(*sh), in digsig_verify()
/linux-6.6.21/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dtracepoint.h89 __field(u32, siglen)
96 __entry->siglen = *((u8 *)data + 3) * 4;
98 (u8 *)data + 4, __entry->siglen);
100 TP_printk("bcdc: prio=%d siglen=%d", __entry->prio, __entry->siglen)
Dfwsignal.h37 void brcmf_fws_hdrpull(struct brcmf_if *ifp, s16 siglen, struct sk_buff *skb);
Dfwsignal.c1840 void brcmf_fws_hdrpull(struct brcmf_if *ifp, s16 siglen, struct sk_buff *skb) in brcmf_fws_hdrpull() argument
1853 ifp->ifidx, skb->len, siglen); in brcmf_fws_hdrpull()
1855 WARN_ON(siglen > skb->len); in brcmf_fws_hdrpull()
1857 if (siglen > skb->len) in brcmf_fws_hdrpull()
1858 siglen = skb->len; in brcmf_fws_hdrpull()
1860 if (!siglen) in brcmf_fws_hdrpull()
1864 skb_pull(skb, siglen); in brcmf_fws_hdrpull()
1869 data_len = siglen; in brcmf_fws_hdrpull()
1956 skb_pull(skb, siglen); in brcmf_fws_hdrpull()
/linux-6.6.21/include/linux/
Ddigsig.h47 int digsig_verify(struct key *keyring, const char *sig, int siglen,
53 int siglen, const char *digest, int digestlen) in digsig_verify() argument
/linux-6.6.21/include/uapi/misc/
Dfastrpc.h87 __u32 siglen; member
/linux-6.6.21/tools/testing/selftests/sgx/
Dsigstruct.c322 unsigned int siglen; in encl_measure() local
371 sigstruct->signature, &siglen, key)) in encl_measure()
/linux-6.6.21/Documentation/security/
Ddigsig.rst75 int digsig_verify(struct key *keyring, const char *sig, int siglen,
/linux-6.6.21/drivers/misc/
Dfastrpc.c1368 u32 siglen; in fastrpc_init_create_process() member
1400 inbuf.siglen = init.siglen; in fastrpc_init_create_process()
1440 args[5].ptr = (u64)(uintptr_t) &inbuf.siglen; in fastrpc_init_create_process()
1441 args[5].length = sizeof(inbuf.siglen); in fastrpc_init_create_process()