Searched refs:sig_len (Results 1 – 10 of 10) sorted by relevance
/linux-4.1.27/kernel/ |
D | module_signing.c | 37 __be32 sig_len; /* Length of signature data */ member 193 size_t modlen = *_modlen, sig_len; in mod_verify_sig() local 204 sig_len = be32_to_cpu(ms.sig_len); in mod_verify_sig() 205 if (sig_len >= modlen) in mod_verify_sig() 207 modlen -= sig_len; in mod_verify_sig() 236 sig_len); in mod_verify_sig()
|
/linux-4.1.27/crypto/asymmetric_keys/ |
D | verify_pefile.c | 109 ctx->sig_len = ddir->certs.size; in pefile_parse_binary() 111 ctx->sig_len, ctx->sig_offset, in pefile_parse_binary() 112 ctx->sig_len, pebuf + ctx->sig_offset); in pefile_parse_binary() 133 if (ctx->sig_len < sizeof(wrapper)) { in pefile_strip_sig_wrapper() 145 if (round_up(wrapper.length, 8) != ctx->sig_len) { in pefile_strip_sig_wrapper() 163 ctx->sig_len = wrapper.length; in pefile_strip_sig_wrapper() 165 ctx->sig_len -= sizeof(wrapper); in pefile_strip_sig_wrapper() 166 if (ctx->sig_len < 4) { in pefile_strip_sig_wrapper() 195 if (len <= ctx->sig_len) { in pefile_strip_sig_wrapper() 197 ctx->sig_len = len; in pefile_strip_sig_wrapper() [all …]
|
D | verify_pefile.h | 24 unsigned sig_len; member
|
/linux-4.1.27/fs/nfsd/ |
D | blocklayoutxdr.c | 46 len = 4 + 4 + 8 + 4 + b->simple.sig_len; in nfsd4_block_encode_volume() 54 p = xdr_encode_opaque(p, b->simple.sig, b->simple.sig_len); in nfsd4_block_encode_volume()
|
D | blocklayout.c | 33 b->simple.sig_len = PNFS_BLOCK_UUID_LEN; in nfsd4_block_get_device_info_simple() 34 return sb->s_export_op->get_uuid(sb, b->simple.sig, &b->simple.sig_len, in nfsd4_block_get_device_info_simple()
|
D | blocklayoutxdr.h | 44 u32 sig_len; member
|
/linux-4.1.27/fs/nfs/blocklayout/ |
D | dev.c | 67 b->simple.sigs[i].sig_len = be32_to_cpup(p++); in nfs4_block_decode_volume() 69 p = xdr_inline_decode(xdr, b->simple.sigs[i].sig_len); in nfs4_block_decode_volume() 73 b->simple.sigs[i].sig_len); in nfs4_block_decode_volume() 75 b->simple.len += 8 + 4 + b->simple.sigs[i].sig_len; in nfs4_block_decode_volume()
|
D | blocklayout.h | 74 u32 sig_len; member
|
D | rpc_pipefs.c | 48 b->simple.sigs[i].sig_len); in nfs4_encode_simple()
|
/linux-4.1.27/net/sctp/ |
D | sm_statefuns.c | 3996 unsigned int sig_len; in sctp_sf_authenticate() local 4023 sig_len = ntohs(chunk->chunk_hdr->length) - sizeof(sctp_auth_chunk_t); in sctp_sf_authenticate() 4025 if (sig_len != hmac->hmac_len) in sctp_sf_authenticate() 4036 skb_pull(chunk->skb, sig_len); in sctp_sf_authenticate() 4038 save_digest = kmemdup(digest, sig_len, GFP_ATOMIC); in sctp_sf_authenticate() 4042 memset(digest, 0, sig_len); in sctp_sf_authenticate() 4049 if (memcmp(save_digest, digest, sig_len)) { in sctp_sf_authenticate()
|