Lines Matching +full:sha +full:- +full:256
1 /* SPDX-License-Identifier: MIT */
19 /* Size of a RSA-2048 signature. */
20 #define AVB_RSA2048_NUM_BYTES 256
22 /* Size of a RSA-4096 signature. */
25 /* Size of a RSA-8192 signature. */
28 /* Size in bytes of a SHA-1 digest. */
31 /* Size in bytes of a SHA-256 digest. */
34 /* Size in bytes of a SHA-512 digest. */
62 * SHA-256, resulting in 32 bytes of hash digest data. This hash is
63 * signed with a 2048-bit RSA key. The field |hash_size| must be 32,
64 * |signature_size| must be 256, and the public key data must have
68 * a 4096-bit RSA key and |signature_size| set to 512.
71 * a 8192-bit RSA key and |signature_size| set to 1024.
74 * SHA-512, resulting in 64 bytes of hash digest data. This hash is
75 * signed with a 2048-bit RSA key. The field |hash_size| must be 64,
76 * |signature_size| must be 256, and the public key data must have
80 * a 4096-bit RSA key and |signature_size| set to 512.
83 * a 8192-bit RSA key and |signature_size| set to 1024.
96 /* Holds algorithm-specific data. The |padding| is needed by avb_rsa_verify. */
103 /* Provides algorithm-specific data for a given |algorithm|. Returns NULL if
112 * for a RSA-2048 key. By definition, a RSA public key is the pair (n,
121 * The value |n0inv| is the value -1/n[0] (mod 2^32). The value |rr|
144 /* Copies |src| to |dest| and validates, byte-swapping fields in the