Release 4.16 drivers/staging/ncpfs/ncpsign_kernel.h
/* SPDX-License-Identifier: GPL-2.0 */
/*
* ncpsign_kernel.h
*
* Arne de Bruijn (arne@knoware.nl), 1997
*
*/
#ifndef _NCPSIGN_KERNEL_H
#define _NCPSIGN_KERNEL_H
#ifdef CONFIG_NCPFS_PACKET_SIGNING
void __sign_packet(struct ncp_server *server, const char *data, size_t size, __u32 totalsize, void *sign_buff);
int sign_verify_reply(struct ncp_server *server, const char *data, size_t size, __u32 totalsize, const void *sign_buff);
#endif
static inline size_t sign_packet(struct ncp_server *server, const char *data, size_t size, __u32 totalsize, void *sign_buff) {
#ifdef CONFIG_NCPFS_PACKET_SIGNING
if (server->sign_active) {
__sign_packet(server, data, size, totalsize, sign_buff);
return 8;
}
#endif
return 0;
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Petr Vandrovec | 59 | 100.00% | 1 | 100.00% |
Total | 59 | 100.00% | 1 | 100.00% |
#endif
Overall Contributors
Person | Tokens | Prop | Commits | CommitProp |
Petr Vandrovec | 102 | 82.93% | 2 | 50.00% |
Linus Torvalds (pre-git) | 20 | 16.26% | 1 | 25.00% |
Greg Kroah-Hartman | 1 | 0.81% | 1 | 25.00% |
Total | 123 | 100.00% | 4 | 100.00% |
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.