/openbmc/google-misc/subprojects/libcr51sign/src/ |
H A D | libcr51sign_support.c | 41 int hash_init(const void* ctx, enum hash_type type) in hash_init() 45 hash_context->hash_type = type; in hash_init() 71 if (hash_context->hash_type == HASH_SHA2_256) // SHA256_Update returns 1 in hash_update() 73 else if (hash_context->hash_type == HASH_SHA2_512) in hash_update() 94 if (hash_context->hash_type == HASH_SHA2_256) in hash_final() 96 else if (hash_context->hash_type == HASH_SHA2_512) in hash_final() 172 enum hash_type hash_type; in verify_signature() local 173 rv = get_hash_type_from_signature(sig_scheme, &hash_type); in verify_signature() 180 if (hash_type == HASH_SHA2_256) in verify_signature() 184 else if (hash_type == HASH_SHA2_512) in verify_signature()
|
H A D | libcr51sign.c | 85 enum hash_type* type) in get_hash_type_from_signature() 104 static failure_reason is_hash_type_supported(enum hash_type type) in is_hash_type_supported() 118 static failure_reason get_hash_digest_size(enum hash_type type, uint32_t* size) in get_hash_digest_size() 135 static failure_reason get_hash_struct_size(enum hash_type type, uint32_t* size) in get_hash_struct_size() 370 rv = get_hash_digest_size(ctx->descriptor.hash_type, &digest_size); in validate_payload_regions() 389 rv = intf->hash_init(ctx, ctx->descriptor.hash_type); in validate_payload_regions() 553 enum hash_type hash_type; in validate_signature() local 560 rv = get_hash_type_from_signature(scheme, &hash_type); in validate_signature() 566 rv = intf->hash_init(ctx, hash_type); in validate_signature() 607 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 | 30 enum hash_type hash_type; member 45 int hash_init(const void* ctx, enum hash_type type);
|
H A D | libcr51sign.h | 117 int (*hash_init)(const void*, enum hash_type); 252 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/linux/drivers/net/ethernet/microchip/lan966x/ |
H A D | lan966x_lag.c | 190 enum netdev_lag_hash hash_type) in lan966x_lag_port_check_hash_types() argument 200 if (port->hash_type != hash_type) in lan966x_lag_port_check_hash_types() 218 port->hash_type = NETDEV_LAG_HASH_NONE; in lan966x_lag_port_prechangeupper() 228 if (!lan966x_lag_port_check_hash_types(lan966x, lui->hash_type)) { in lan966x_lag_port_prechangeupper() 234 switch (lui->hash_type) { in lan966x_lag_port_prechangeupper() 259 port->hash_type = lui->hash_type; in lan966x_lag_port_prechangeupper()
|
/openbmc/linux/certs/ |
H A D | blacklist.c | 147 enum blacklist_hash_type hash_type) in get_raw_hash() argument 153 switch (hash_type) { in get_raw_hash() 205 enum blacklist_hash_type hash_type) in mark_hash_blacklisted() argument 210 buffer = get_raw_hash(hash, hash_len, hash_type); in mark_hash_blacklisted() 225 enum blacklist_hash_type hash_type) in is_hash_blacklisted() argument 231 buffer = get_raw_hash(hash, hash_len, hash_type); in is_hash_blacklisted()
|
/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()
|
/openbmc/linux/include/keys/ |
H A D | system_keyring.h | 79 enum blacklist_hash_type hash_type); 81 enum blacklist_hash_type hash_type); 85 enum blacklist_hash_type hash_type) in is_hash_blacklisted() argument
|
/openbmc/linux/drivers/crypto/bcm/ |
H A D | spu.h | 86 enum hash_type { enum 130 enum hash_type type; 238 enum hash_type spum_hash_type(u32 src_sent); 240 enum hash_type htype);
|
H A D | spu2.c | 73 static char *spu2_hash_type_name(enum spu2_hash_type hash_type) in spu2_hash_type_name() argument 75 if (hash_type >= SPU2_HASH_TYPE_LAST) in spu2_hash_type_name() 77 return spu2_hash_type_names[hash_type]; in spu2_hash_type_name() 235 enum hash_type hash_type, enum spu_cipher_type ciph_type, in spu2_hash_xlate() argument 303 hash_alg, hash_type); in spu2_hash_xlate() 312 enum spu2_hash_type hash_type; in spu2_dump_fmd_ctrl0() local 351 hash_type = (ctrl0 & SPU2_HASH_TYPE) >> SPU2_HASH_TYPE_SHIFT; in spu2_dump_fmd_ctrl0() 352 hash_name = spu2_hash_type_name(hash_type); in spu2_dump_fmd_ctrl0() 355 if (hash_type != SPU2_HASH_TYPE_NONE) { in spu2_dump_fmd_ctrl0() 909 enum hash_type spu2_hash_type(u32 src_sent) in spu2_hash_type() [all …]
|
H A D | spu2.h | 189 enum hash_type spu2_hash_type(u32 src_sent); 191 enum hash_type htype);
|
H A D | spu.c | 36 u32 hash_type; in spum_dump_msg_hdr() local 83 hash_type = (cflags & HASH_TYPE) >> HASH_TYPE_SHIFT; in spum_dump_msg_hdr() 85 hash_alg, hash_mode, hash_type); in spum_dump_msg_hdr() 171 (hash_type == HASH_TYPE_UPDT)) { in spum_dump_msg_hdr() 538 enum hash_type spum_hash_type(u32 src_sent) in spum_hash_type() 555 enum hash_type htype) in spum_digest_size()
|
H A D | cipher.h | 374 enum hash_type (*spu_hash_type)(u32 src_sent); 376 enum 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/linux/drivers/net/ethernet/mellanox/mlx5/core/lag/ |
H A D | port_sel.h | 36 enum netdev_lag_hash hash_type, u8 *ports); 40 enum netdev_lag_hash hash_type, in mlx5_lag_port_sel_create() argument
|
H A D | port_sel.c | 377 enum netdev_lag_hash hash_type, in mlx5_lag_create_definers() argument 385 lag_definer = mlx5_lag_create_definer(ldev, hash_type, tt, in mlx5_lag_create_definers() 397 mlx5_lag_create_definer(ldev, hash_type, tt, in mlx5_lag_create_definers() 535 enum netdev_lag_hash hash_type, u8 *ports) in mlx5_lag_port_sel_create() argument 540 set_tt_map(port_sel, hash_type); in mlx5_lag_port_sel_create() 541 err = mlx5_lag_create_definers(ldev, hash_type, ports); in mlx5_lag_port_sel_create()
|
H A D | lag.h | 50 enum netdev_lag_hash hash_type; member
|
/openbmc/linux/drivers/crypto/cavium/cpt/ |
H A D | cptvf_algs.h | 52 u64 hash_type:4; member 68 u64 hash_type:4;
|
/openbmc/linux/drivers/net/ethernet/huawei/hinic/ |
H A D | hinic_port.c | 888 struct hinic_rss_engine_type hash_type = { 0 }; in hinic_rss_get_hash_engine() local 890 u16 out_size = sizeof(hash_type); in hinic_rss_get_hash_engine() 901 hash_type.func_id = HINIC_HWIF_FUNC_IDX(hwif); in hinic_rss_get_hash_engine() 902 hash_type.template_id = tmpl_idx; in hinic_rss_get_hash_engine() 905 &hash_type, sizeof(hash_type), in hinic_rss_get_hash_engine() 906 &hash_type, &out_size); in hinic_rss_get_hash_engine() 907 if (err || !out_size || hash_type.status) { in hinic_rss_get_hash_engine() 909 err, hash_type.status, out_size); in hinic_rss_get_hash_engine() 913 *type = hash_type.hash_engine; in hinic_rss_get_hash_engine()
|
/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/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/ |
H A D | mlx5_ifc_dr_ste_v1.h | 130 u8 hash_type[0x2]; member 161 u8 hash_type[0x2]; member 187 u8 hash_type[0x2]; member
|
/openbmc/linux/drivers/net/ethernet/netronome/nfp/flower/ |
H A D | lag_conf.c | 581 (lag_upper_info->hash_type != NETDEV_LAG_HASH_L34 && in nfp_fl_lag_changeupper_event() 582 lag_upper_info->hash_type != NETDEV_LAG_HASH_E34 && in nfp_fl_lag_changeupper_event() 583 lag_upper_info->hash_type != NETDEV_LAG_HASH_UNKNOWN))) { in nfp_fl_lag_changeupper_event() 588 lag_upper_info->hash_type); in nfp_fl_lag_changeupper_event()
|
/openbmc/linux/fs/smb/server/ |
H A D | xattr.h | 94 __u16 hash_type; /* hash type */ member
|
/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()
|