Searched refs:hash_type (Results 1 – 13 of 13) sorted by relevance
| /openbmc/google-misc/subprojects/libcr51sign/src/ |
| H A D | libcr51sign_support.c | 45 int hash_init(const void* ctx, enum hash_type type) in hash_init() 49 hash_context->hash_type = type; in hash_init() 81 if (hash_context->hash_type == HASH_SHA2_256) in hash_update() 85 else if (hash_context->hash_type == HASH_SHA2_512) in hash_update() 110 if (hash_context->hash_type == HASH_SHA2_256) in hash_final() 114 else if (hash_context->hash_type == HASH_SHA2_512) in hash_final() 196 enum hash_type hash_type; in verify_signature() local 197 rv = get_hash_type_from_signature(sig_scheme, &hash_type); in verify_signature() 204 if (hash_type == HASH_SHA2_256) in verify_signature() 208 else if (hash_type == HASH_SHA2_512) in verify_signature()
|
| H A D | libcr51sign.c | 83 enum hash_type* type) in get_hash_type_from_signature() 102 static failure_reason is_hash_type_supported(enum hash_type type) in is_hash_type_supported() 116 static failure_reason get_hash_digest_size(enum hash_type type, uint32_t* size) in get_hash_digest_size() 133 static failure_reason get_hash_struct_size(enum hash_type type, uint32_t* size) in get_hash_struct_size() 368 rv = get_hash_digest_size(ctx->descriptor.hash_type, &digest_size); in validate_payload_regions() 387 rv = intf->hash_init(ctx, ctx->descriptor.hash_type); in validate_payload_regions() 663 enum hash_type hash_type; in validate_signature() local 670 rv = get_hash_type_from_signature(scheme, &hash_type); in validate_signature() 676 rv = intf->hash_init(ctx, hash_type); in validate_signature() 700 rv = get_hash_digest_size(hash_type, &digest_size); in validate_signature() [all …]
|
| /openbmc/google-misc/subprojects/libcr51sign/include/libcr51sign/ |
| H A D | libcr51sign_support.h | 33 enum hash_type hash_type; member 48 int hash_init(const void* ctx, enum hash_type type);
|
| H A D | libcr51sign.h | 135 int (*hash_init)(const void*, enum hash_type); 309 enum signature_scheme scheme, enum hash_type* type);
|
| H A D | cr51_image_descriptor.h | 129 enum hash_type enum 246 uint8_t hash_type; member
|
| /openbmc/u-boot/drivers/crypto/ |
| H A D | ace_sha.c | 28 unsigned char *pout, unsigned int hash_type) in ace_sha_hash_digest() argument 37 if (hash_type == ACE_SHA_TYPE_SHA1) in ace_sha_hash_digest() 58 reg = (hash_type == ACE_SHA_TYPE_SHA1) ? in ace_sha_hash_digest() 91 len = (hash_type == ACE_SHA_TYPE_SHA1) ? SHA1_SUM_LEN : SHA256_SUM_LEN; in ace_sha_hash_digest()
|
| H A D | ace_sha.h | 312 uchar * out_addr, uint hash_type);
|
| /openbmc/openbmc/meta-openembedded/meta-networking/recipes-support/iftop/iftop/ |
| H A D | iftop-1.0-gcc10.patch | 47 -hash_type* screen_hash; 48 -hash_type* service_hash; 49 +extern hash_type* screen_hash; 50 +extern hash_type* service_hash; 63 +hash_type* screen_hash; 64 +hash_type* service_hash; 66 extern hash_type* history;
|
| /openbmc/u-boot/tools/ |
| H A D | imx8image.c | 470 static void set_image_hash(boot_img_t *img, char *filename, uint32_t hash_type) in set_image_hash() argument 478 sprintf(sha_command, "sha%dsum /dev/null", hash_type); in set_image_hash() 483 img->size, filename, hash_type); in set_image_hash() 485 switch (hash_type) { in set_image_hash() 497 hash_type); in set_image_hash() 509 if (!fgets(hash, hash_type / 4 + 1, fp)) { in set_image_hash()
|
| /openbmc/u-boot/cmd/ |
| H A D | cros_ec.c | 157 if (hash.hash_type == EC_VBOOT_HASH_TYPE_SHA256) in do_cros_ec() 160 printf("type: %d\n", hash.hash_type); in do_cros_ec()
|
| /openbmc/u-boot/drivers/misc/ |
| H A D | cros_ec_sandbox.c | 385 resp->hash_type = EC_VBOOT_HASH_TYPE_SHA256; in process_cmd()
|
| H A D | cros_ec.c | 530 p.hash_type = EC_VBOOT_HASH_TYPE_SHA256; in cros_ec_read_hash() 557 p.hash_type = EC_VBOOT_HASH_TYPE_SHA256; in cros_ec_invalidate_hash()
|
| /openbmc/u-boot/include/ |
| H A D | ec_commands.h | 1903 uint8_t hash_type; /* enum ec_vboot_hash_type */ member 1913 uint8_t hash_type; /* enum ec_vboot_hash_type */ member
|