]> git.baikalelectronics.ru Git - kernel.git/commit
rxrpc: Hand server key parsing off to the security class
authorDavid Howells <dhowells@redhat.com>
Wed, 16 Sep 2020 07:37:29 +0000 (08:37 +0100)
committerDavid Howells <dhowells@redhat.com>
Mon, 23 Nov 2020 18:09:29 +0000 (18:09 +0000)
commit4560f2000c89c4516c4c077960d4e8588504d256
tree3d40fbb68ce1048cbf36fa57daff16666540956b
parentd50bc208a4da989041bc7d8d44c7f0cc26856d6a
rxrpc: Hand server key parsing off to the security class

Hand responsibility for parsing a server key off to the security class.  We
can determine which class from the description.  This is necessary as rxgk
server keys have different lookup requirements and different content
requirements (dependent on crypto type) to those of rxkad server keys.

Signed-off-by: David Howells <dhowells@redhat.com>
net/rxrpc/ar-internal.h
net/rxrpc/rxkad.c
net/rxrpc/security.c
net/rxrpc/server_key.c