/* Signature verification with an asymmetric key * * See Documentation/security/asymmetric-keys.txt * * Copyright (C) 2012 Red Hat, Inc. All Rights Reserved. * Written by David Howells (dhowells@redhat.com) * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public Licence * as published by the Free Software Foundation; either version * 2 of the Licence, or (at your option) any later version. */ #define pr_fmt(fmt) "SIG: "fmt #include <keys/asymmetric-subtype.h> #include <linux/export.h> #include <linux/err.h> #include <linux/slab.h> #include <crypto/public_key.h> #include "asymmetric_keys.h" /* * Destroy a public key signature. */
void public_key_signature_free(struct public_key_signature *sig) { int i; if (sig) { for (i = 0; i < ARRAY_SIZE(sig->auth_ids); i++) kfree(sig->auth_ids[i]); kfree(sig->s); kfree(sig->digest); kfree(sig); } }Contributors
Person | Tokens | Prop | Commits | CommitProp |
David Howells | 66 | 100.00% | 2 | 100.00% |
Total | 66 | 100.00% | 2 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
David Howells | 106 | 100.00% | 2 | 100.00% |
Total | 106 | 100.00% | 2 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
David Howells | 209 | 99.52% | 5 | 83.33% |
Paul Gortmaker | 1 | 0.48% | 1 | 16.67% |
Total | 210 | 100.00% | 6 | 100.00% |