Searched refs:algorithm (Results 1 - 9 of 9) sorted by last modified time

/u-boot/arch/arm/mach-imx/
H A Dcmd_dek.c193 hdr.algorithm = AHAB_ALG_AES;
330 hdr.algorithm = AHAB_ALG_AES;
/u-boot/include/
H A Dimx_container.h67 u8 algorithm; member in struct:generate_key_blob_hdr
H A Dtpm-v2.h183 * @hash_alg: Hash algorithm defined in enum tpm2_algorithms
184 * @digest: Digest value for a given algorithm
195 * @digests: struct for algorithm id and hash value
220 * struct TCG_EfiSpecIdEventAlgorithmSize - hashing algorithm information
222 * @algorithm_id: algorithm defined in enum tpm2_algorithms
223 * @digest_size: size of the algorithm
249 * 1st member defines the algorithm id
250 * 2nd member defines the algorithm size
725 * @algorithm Algorithm used, defined in 'enum tpm2_algorithms'
731 u32 tpm2_pcr_extend(struct udevice *dev, u32 index, u32 algorithm,
[all...]
H A Dec_commands.h2723 * more. Since the algorithm is nothing but magic numbers anyway, we'll leave
2724 * the params opaque. The v1 "get" response will include the algorithm number
2726 * needing to update this file. We can also use a different algorithm on each
2754 uint8_t algorithm; member in struct:ec_response_tmp006_get_calibration_v1
2762 uint8_t algorithm; member in struct:ec_params_tmp006_set_calibration_v1
2881 * Configuration for our key scanning algorithm.
/u-boot/lib/
H A Dtpm-v2.c118 printf("%s: unsupported algorithm %x\n", __func__,
844 u32 tpm2_pcr_extend(struct udevice *dev, u32 index, u32 algorithm, argument
868 tpm_u16(algorithm), /* Algorithm of the hash */
972 u16 algorithm, void *data, u32 digest_len,
983 tpm_u16(algorithm), /* Algorithm of the hash */
1080 * algorithm add it on the active ones
1165 printf("%s: unknown algorithm %x\n", __func__,
1342 * - the hash algorithm
1391 * - the algorithm, sha256 in our case
971 tpm2_pcr_read(struct udevice *dev, u32 idx, unsigned int idx_min_sz, u16 algorithm, void *data, u32 digest_len, unsigned int *updates) argument
/u-boot/boot/
H A Dbootmeth_cros.h47 /* Signature algorithm used by the key (enum vb2_crypto_algorithm) */
48 uint32_t algorithm; member in struct:vb2_packed_key
/u-boot/lib/libavb/
H A Davb_vbmeta_image.c21 const AvbAlgorithmData* algorithm; local
136 /* Ensure algorithm field is supported. */
137 algorithm = avb_get_algorithm_data(h.algorithm_type);
138 if (!algorithm) {
139 avb_error("Invalid or unknown algorithm.\n");
143 /* Bail if the embedded hash size doesn't match the chosen algorithm. */
144 if (h.hash_size != algorithm->hash_len) {
181 avb_error("Unknown algorithm.\n");
200 algorithm->padding,
201 algorithm
[all...]
H A Davb_crypto.h44 * verification. An algorithm consists of a hash type and a signature
55 * Each algorithm type is described below:
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
104 * |algorithm| is invalid.
106 const AvbAlgorithmData* avb_get_algorithm_data(AvbAlgorithmType algorithm)
H A Davb_crypto.c338 const AvbAlgorithmData* avb_get_algorithm_data(AvbAlgorithmType algorithm) { argument
339 if ((size_t)algorithm < _AVB_ALGORITHM_NUM_TYPES) {
340 return &algorithm_data[algorithm];

Completed in 131 milliseconds