Searched refs:sig_len (Results 1 - 11 of 11) sorted by relevance

/linux-4.4.14/kernel/
H A Dmodule_signing.c35 __be32 sig_len; /* Length of signature data */ member in struct:module_signature
44 size_t modlen = *_modlen, sig_len; mod_verify_sig() local
54 sig_len = be32_to_cpu(ms.sig_len); mod_verify_sig()
55 if (sig_len >= modlen) mod_verify_sig()
57 modlen -= sig_len; mod_verify_sig()
76 return system_verify_data(mod, modlen, mod + modlen, sig_len, mod_verify_sig()
/linux-4.4.14/fs/nfsd/
H A Dblocklayoutxdr.h29 u32 sig_len; member in struct:pnfs_block_volume::__anon11695::__anon11696
H A Dblocklayoutxdr.c46 len = 4 + 4 + 8 + 4 + b->simple.sig_len; nfsd4_block_encode_volume()
54 p = xdr_encode_opaque(p, b->simple.sig, b->simple.sig_len); nfsd4_block_encode_volume()
H A Dblocklayout.c33 b->simple.sig_len = PNFS_BLOCK_UUID_LEN; nfsd4_block_get_device_info_simple()
34 return sb->s_export_op->get_uuid(sb, b->simple.sig, &b->simple.sig_len, nfsd4_block_get_device_info_simple()
/linux-4.4.14/crypto/asymmetric_keys/
H A Dverify_pefile.h24 unsigned sig_len; member in struct:pefile_context
H A Dverify_pefile.c109 ctx->sig_len = ddir->certs.size; pefile_parse_binary()
111 ctx->sig_len, ctx->sig_offset, pefile_parse_binary()
112 ctx->sig_len, pebuf + ctx->sig_offset); pefile_parse_binary()
133 if (ctx->sig_len < sizeof(wrapper)) { pefile_strip_sig_wrapper()
145 if (round_up(wrapper.length, 8) != ctx->sig_len) { pefile_strip_sig_wrapper()
163 ctx->sig_len = wrapper.length; pefile_strip_sig_wrapper()
165 ctx->sig_len -= sizeof(wrapper); pefile_strip_sig_wrapper()
166 if (ctx->sig_len < 4) { pefile_strip_sig_wrapper()
195 if (len <= ctx->sig_len) { pefile_strip_sig_wrapper()
197 ctx->sig_len = len; pefile_strip_sig_wrapper()
442 pkcs7 = pkcs7_parse_message(pebuf + ctx.sig_offset, ctx.sig_len); verify_pefile_signature()
/linux-4.4.14/fs/nfs/blocklayout/
H A Ddev.c67 b->simple.sigs[i].sig_len = be32_to_cpup(p++); nfs4_block_decode_volume()
68 if (b->simple.sigs[i].sig_len > PNFS_BLOCK_UUID_LEN) { nfs4_block_decode_volume()
70 b->simple.sigs[i].sig_len); nfs4_block_decode_volume()
74 p = xdr_inline_decode(xdr, b->simple.sigs[i].sig_len); nfs4_block_decode_volume()
78 b->simple.sigs[i].sig_len); nfs4_block_decode_volume()
80 b->simple.len += 8 + 4 + b->simple.sigs[i].sig_len; nfs4_block_decode_volume()
H A Dblocklayout.h67 u32 sig_len; member in struct:pnfs_block_volume::__anon11655::__anon11656::__anon11657
H A Drpc_pipefs.c48 b->simple.sigs[i].sig_len); nfs4_encode_simple()
/linux-4.4.14/scripts/
H A Dsign-file.c58 uint32_t sig_len; /* Length of signature data */ member in struct:module_signature
312 sig_info.sig_len = htonl(sig_size); main()
/linux-4.4.14/net/sctp/
H A Dsm_statefuns.c3996 unsigned int sig_len; sctp_sf_authenticate() local
4023 sig_len = ntohs(chunk->chunk_hdr->length) - sizeof(sctp_auth_chunk_t); sctp_sf_authenticate()
4025 if (sig_len != hmac->hmac_len) sctp_sf_authenticate()
4036 skb_pull(chunk->skb, sig_len); sctp_sf_authenticate()
4038 save_digest = kmemdup(digest, sig_len, GFP_ATOMIC); sctp_sf_authenticate()
4042 memset(digest, 0, sig_len); sctp_sf_authenticate()
4049 if (memcmp(save_digest, digest, sig_len)) { sctp_sf_authenticate()

Completed in 388 milliseconds