Re: [PATCH v2 12/14] PGP: Provide a key type for testing PGP signatures

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 8/18/24 09:57, Roberto Sassu wrote:
...
> diff --git a/crypto/asymmetric_keys/pgp_test_key.c b/crypto/asymmetric_keys/pgp_test_key.c
> new file mode 100644
> index 000000000000..e067dedf6ca0
> --- /dev/null
> +++ b/crypto/asymmetric_keys/pgp_test_key.c
> @@ -0,0 +1,129 @@
> +// SPDX-License-Identifier: GPL-2.0
> +/* Testing module to load key from trusted PGP message
> + *
> + * Copyright (C) 2014 Red Hat, Inc. All Rights Reserved.
> + * Written by David Howells (dhowells@xxxxxxxxxx)
> + */
> +
> +#define pr_fmt(fmt) "PGPtest: "fmt
> +#include <linux/key.h>
> +#include <linux/key-type.h>
> +#include <linux/cred.h>
> +#include <linux/err.h>
> +#include <linux/module.h>
> +#include <linux/verification.h>
> +#include <keys/user-type.h>
> +#include <keys/system_keyring.h>
> +#include <crypto/pgp.h>
> +
> +#include "pgp_parser.h"
> +
> +MODULE_LICENSE("GPL");

Missing MODULE_DESCRIPTION()





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux Kernel]     [Linux Kernel Hardening]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux