#include <linux/module.h>
#include <linux/net.h>
#include <linux/skbuff.h>
#include <linux/key-type.h>
#include <linux/crypto.h>
#include <linux/ctype.h>
#include <linux/slab.h>
#include <net/sock.h>
#include <net/af_rxrpc.h>
#include <keys/rxrpc-type.h>
#include <keys/user-type.h>
#include "ar-internal.h"
Go to the source code of this file.
Value:
xdr += 8 >> 2; \
} while(0)
#define ENCODE_DATA |
( |
|
l, |
|
|
|
s |
|
) |
| |
Value:
if (_l & 3 && \
goto fault; \
xdr += (_l + 3) >> 2; \
} while(0)
Value:do { \
ENCODE_DATA(
strlen(_s), _s); \
} while(0)
#define RND |
( |
|
X | ) |
(((X) + 3) & ~3) |
rxrpc_get_null_key - Generate a null RxRPC key : The name to give the key.
Generate a null RxRPC key that can be used to indicate anonymous security is required for a particular domain.
Definition at line 992 of file ar-key.c.
struct key_type key_type_rxrpc |
Initial value:= {
.name = "rxrpc",
.instantiate = rxrpc_instantiate,
.destroy = rxrpc_destroy,
.describe = rxrpc_describe,
.read = rxrpc_read,
}
Definition at line 40 of file ar-key.c.
struct key_type key_type_rxrpc_s |
Initial value:= {
.name = "rxrpc_s",
.vet_description = rxrpc_vet_description_s,
.instantiate = rxrpc_instantiate_s,
.destroy = rxrpc_destroy_s,
.describe = rxrpc_describe,
}
Definition at line 54 of file ar-key.c.