Lines Matching +full:sha3 +full:- +full:384
1 // SPDX-License-Identifier: GPL-2.0-or-later
25 content_data -= asn1hdrlen; in mscode_parse()
48 return -EBADMSG; in mscode_note_content_type()
59 return -EBADMSG; in mscode_note_content_type()
79 ctx->digest_algo = "sha1"; in mscode_note_digest_algo()
82 ctx->digest_algo = "sha256"; in mscode_note_digest_algo()
85 ctx->digest_algo = "sha384"; in mscode_note_digest_algo()
88 ctx->digest_algo = "sha512"; in mscode_note_digest_algo()
91 ctx->digest_algo = "sha3-256"; in mscode_note_digest_algo()
94 ctx->digest_algo = "sha3-384"; in mscode_note_digest_algo()
97 ctx->digest_algo = "sha3-512"; in mscode_note_digest_algo()
103 return -EBADMSG; in mscode_note_digest_algo()
107 return -ENOPKG; in mscode_note_digest_algo()
122 ctx->digest = kmemdup(value, vlen, GFP_KERNEL); in mscode_note_digest()
123 if (!ctx->digest) in mscode_note_digest()
124 return -ENOMEM; in mscode_note_digest()
126 ctx->digest_len = vlen; in mscode_note_digest()