Home
last modified time | relevance | path

Searched refs:algorithm_type (Results 1 – 13 of 13) sorted by relevance

/external/avb/libavb/
Davb_vbmeta_image.c150 if (h.algorithm_type == AVB_ALGORITHM_TYPE_NONE) { in avb_vbmeta_image_verify()
156 algorithm = avb_get_algorithm_data(h.algorithm_type); in avb_vbmeta_image_verify()
176 switch (h.algorithm_type) { in avb_vbmeta_image_verify()
256 dest->algorithm_type = avb_be32toh(dest->algorithm_type); in avb_vbmeta_image_header_to_host_byte_order()
Davb_cmdline.h68 AvbAlgorithmType algorithm_type,
Davb_vbmeta_image.h140 uint32_t algorithm_type; member
Davb_cmdline.c239 AvbAlgorithmType algorithm_type, in avb_append_options() argument
288 switch (algorithm_type) { in avb_append_options()
Davb_slot_verify.c1220 *out_algorithm_type = (AvbAlgorithmType)vbmeta_header.algorithm_type; in load_and_verify_vbmeta()
1370 AvbAlgorithmType algorithm_type = AVB_ALGORITHM_TYPE_NONE; in avb_slot_verify() local
1475 &algorithm_type, in avb_slot_verify()
1496 &algorithm_type, in avb_slot_verify()
1576 algorithm_type, in avb_slot_verify()
/external/u-boot/lib/libavb/
Davb_vbmeta_image.c131 if (h.algorithm_type == AVB_ALGORITHM_TYPE_NONE) { in avb_vbmeta_image_verify()
137 algorithm = avb_get_algorithm_data(h.algorithm_type); in avb_vbmeta_image_verify()
157 switch (h.algorithm_type) { in avb_vbmeta_image_verify()
237 dest->algorithm_type = avb_be32toh(dest->algorithm_type); in avb_vbmeta_image_header_to_host_byte_order()
Davb_cmdline.h49 AvbAlgorithmType algorithm_type,
Davb_vbmeta_image.h121 uint32_t algorithm_type; member
Davb_cmdline.c220 AvbAlgorithmType algorithm_type, in avb_append_options() argument
269 switch (algorithm_type) { in avb_append_options()
Davb_slot_verify.c1201 *out_algorithm_type = (AvbAlgorithmType)vbmeta_header.algorithm_type; in load_and_verify_vbmeta()
1351 AvbAlgorithmType algorithm_type = AVB_ALGORITHM_TYPE_NONE; in avb_slot_verify() local
1456 &algorithm_type, in avb_slot_verify()
1477 &algorithm_type, in avb_slot_verify()
1557 algorithm_type, in avb_slot_verify()
/external/avb/
Davbtool.py84 def __init__(self, algorithm_type, hash_name, hash_num_bytes, argument
86 self.algorithm_type = algorithm_type
100 algorithm_type=0, # AVB_ALGORITHM_TYPE_NONE
107 algorithm_type=1, # AVB_ALGORITHM_TYPE_SHA256_RSA2048
121 algorithm_type=2, # AVB_ALGORITHM_TYPE_SHA256_RSA4096
135 algorithm_type=3, # AVB_ALGORITHM_TYPE_SHA256_RSA8192
149 algorithm_type=4, # AVB_ALGORITHM_TYPE_SHA512_RSA2048
163 algorithm_type=5, # AVB_ALGORITHM_TYPE_SHA512_RSA4096
177 algorithm_type=6, # AVB_ALGORITHM_TYPE_SHA512_RSA8192
441 if alg_data.algorithm_type == alg_type:
[all …]
Davbtool84 def __init__(self, algorithm_type, hash_name, hash_num_bytes, argument
86 self.algorithm_type = algorithm_type
100 algorithm_type=0, # AVB_ALGORITHM_TYPE_NONE
107 algorithm_type=1, # AVB_ALGORITHM_TYPE_SHA256_RSA2048
121 algorithm_type=2, # AVB_ALGORITHM_TYPE_SHA256_RSA4096
135 algorithm_type=3, # AVB_ALGORITHM_TYPE_SHA256_RSA8192
149 algorithm_type=4, # AVB_ALGORITHM_TYPE_SHA512_RSA2048
163 algorithm_type=5, # AVB_ALGORITHM_TYPE_SHA512_RSA4096
177 algorithm_type=6, # AVB_ALGORITHM_TYPE_SHA512_RSA8192
441 if alg_data.algorithm_type == alg_type:
[all …]
/external/avb/test/
Davb_vbmeta_image_unittest.cc374 h->algorithm_type = htobe32(_AVB_ALGORITHM_NUM_TYPES); in TEST_F()
516 h.algorithm_type = htobe32(n32); in TEST_F()
556 EXPECT_EQ(n32, s.algorithm_type); in TEST_F()