Home
last modified time | relevance | path

Searched refs:algo (Results 1 – 25 of 160) sorted by relevance

1234567

/external/u-boot/common/
Dhash.c41 static int hash_init_sha1(struct hash_algo *algo, void **ctxp) in hash_init_sha1() argument
49 static int hash_update_sha1(struct hash_algo *algo, void *ctx, const void *buf, in hash_update_sha1() argument
56 static int hash_finish_sha1(struct hash_algo *algo, void *ctx, void *dest_buf, in hash_finish_sha1() argument
59 if (size < algo->digest_size) in hash_finish_sha1()
69 static int hash_init_sha256(struct hash_algo *algo, void **ctxp) in hash_init_sha256() argument
77 static int hash_update_sha256(struct hash_algo *algo, void *ctx, in hash_update_sha256() argument
84 static int hash_finish_sha256(struct hash_algo *algo, void *ctx, void in hash_finish_sha256() argument
87 if (size < algo->digest_size) in hash_finish_sha256()
96 static int hash_init_crc16_ccitt(struct hash_algo *algo, void **ctxp) in hash_init_crc16_ccitt() argument
104 static int hash_update_crc16_ccitt(struct hash_algo *algo, void *ctx, in hash_update_crc16_ccitt() argument
[all …]
/external/iptables/extensions/
Dlibxt_string.t2 # ERROR: cannot find: iptables -I INPUT -m string --algo bm --string "test"
3 # -m string --algo bm --string "test";=;OK
4 # ERROR: cannot find: iptables -I INPUT -m string --algo kmp --string "test")
5 # -m string --algo kmp --string "test";=;OK
6 # ERROR: cannot find: iptables -I INPUT -m string --algo kmp ! --string "test"
7 # -m string --algo kmp ! --string "test";=;OK
8 # cannot find: iptables -I INPUT -m string --algo bm --string "xxxxxxxxxxx" ....]
9 # -m string --algo bm --string "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx…
10 # ERROR: cannot load: iptables -A INPUT -m string --algo bm --string "xxxx"
11 # -m string --algo bm --string "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx…
[all …]
/external/u-boot/lib/rsa/
Drsa-checksum.c22 struct hash_algo *algo; in hash_calculate() local
28 ret = hash_progressive_lookup_algo(name, &algo); in hash_calculate()
32 ret = algo->hash_init(algo, &ctx); in hash_calculate()
37 ret = algo->hash_update(algo, ctx, region[i].data, in hash_calculate()
43 ret = algo->hash_update(algo, ctx, region[i].data, region[i].size, 1); in hash_calculate()
46 ret = algo->hash_finish(algo, ctx, checksum, algo->digest_size); in hash_calculate()
/external/u-boot/drivers/crypto/fsl/
Dfsl_hash.c46 static enum caam_hash_algos get_hash_type(struct hash_algo *algo) in get_hash_type() argument
48 if (!strcmp(algo->name, driver_hash[SHA1].name)) in get_hash_type()
163 unsigned char *pout, enum caam_hash_algos algo) in caam_hash() argument
185 driver_hash[algo].alg_type, in caam_hash()
186 driver_hash[algo].digestsize, in caam_hash()
194 size = ALIGN(driver_hash[algo].digestsize, ARCH_DMA_MINALIGN); in caam_hash()
216 int hw_sha_init(struct hash_algo *algo, void **ctxp) in hw_sha_init() argument
218 return caam_hash_init(ctxp, get_hash_type(algo)); in hw_sha_init()
221 int hw_sha_update(struct hash_algo *algo, void *ctx, const void *buf, in hw_sha_update() argument
224 return caam_hash_update(ctx, buf, size, is_last, get_hash_type(algo)); in hw_sha_update()
[all …]
/external/u-boot/tools/patman/
Dtools.py401 def Compress(indata, algo, with_header=True): argument
417 if algo == 'none':
419 fname = GetOutputFilename('%s.comp.tmp' % algo)
421 if algo == 'lz4':
424 elif algo == 'lzma':
425 outfname = GetOutputFilename('%s.comp.otmp' % algo)
428 elif algo == 'gzip':
431 raise ValueError("Unknown algorithm '%s'" % algo)
437 def Decompress(indata, algo, with_header=True): argument
453 if algo == 'none':
[all …]
/external/u-boot/board/st/stm32mp1/
Dfit_copro_kernel_dtb.its21 algo = "sha1";
35 algo = "sha1";
46 algo = "sha1";
57 algo = "sha1";
71 algo = "sha1";
80 algo = "sha1";
90 algo = "sha1";
99 algo = "sha1";
Dfit_kernel_dtb.its34 algo = "sha1";
45 algo = "sha1";
56 algo = "sha1";
69 algo = "sha1";
78 algo = "sha1";
/external/skqp/src/compute/hs/cl/bench/
Dsort.cpp106 char const * const algo = "std::sort(std::execution::par_unseq)()"; in hs_cpu_sort_u32() local
109 char const * const algo = "std:sort()"; in hs_cpu_sort_u32() local
112 char const * const algo = "qsort()"; in hs_cpu_sort_u32() local
120 return algo; in hs_cpu_sort_u32()
133 char const * const algo = "std::sort(std::execution::par_unseq)()"; in hs_cpu_sort_u64() local
136 char const * const algo = "std::sort()"; in hs_cpu_sort_u64() local
139 char const * const algo = "qsort()"; in hs_cpu_sort_u64() local
147 return algo; in hs_cpu_sort_u64()
/external/skqp/src/compute/hs/vk/bench/
Dsort.cpp106 char const * const algo = "std::sort(std::execution::par_unseq)()"; in hs_cpu_sort_u32() local
109 char const * const algo = "std:sort()"; in hs_cpu_sort_u32() local
112 char const * const algo = "qsort()"; in hs_cpu_sort_u32() local
120 return algo; in hs_cpu_sort_u32()
133 char const * const algo = "std::sort(std::execution::par_unseq)()"; in hs_cpu_sort_u64() local
136 char const * const algo = "std::sort()"; in hs_cpu_sort_u64() local
139 char const * const algo = "qsort()"; in hs_cpu_sort_u64() local
147 return algo; in hs_cpu_sort_u64()
/external/u-boot/board/freescale/common/
Dfsl_validate.c487 struct hash_algo *algo; in calc_img_key_hash() local
494 ret = hash_progressive_lookup_algo(algo_name, &algo); in calc_img_key_hash()
498 ret = algo->hash_init(algo, &ctx); in calc_img_key_hash()
505 ret = algo->hash_update(algo, ctx, in calc_img_key_hash()
512 ret = algo->hash_update(algo, ctx, in calc_img_key_hash()
518 ret = algo->hash_finish(algo, ctx, hash_val, algo->digest_size); in calc_img_key_hash()
535 struct hash_algo *algo; in calc_esbchdr_esbc_hash() local
542 ret = hash_progressive_lookup_algo(algo_name, &algo); in calc_esbchdr_esbc_hash()
546 ret = algo->hash_init(algo, &ctx); in calc_esbchdr_esbc_hash()
552 ret = algo->hash_update(algo, ctx, in calc_esbchdr_esbc_hash()
[all …]
/external/skqp/src/compute/hs/cuda/bench/
Dsort.cpp107 char const * const algo = "std::sort(std::execution::par_unseq)()"; in hs_cpu_sort_u32() local
110 char const * const algo = "std:sort()"; in hs_cpu_sort_u32() local
113 char const * const algo = "qsort()"; in hs_cpu_sort_u32() local
121 return algo; in hs_cpu_sort_u32()
134 char const * const algo = "std::sort(std::execution::par_unseq)()"; in hs_cpu_sort_u64() local
137 char const * const algo = "std::sort()"; in hs_cpu_sort_u64() local
140 char const * const algo = "qsort()"; in hs_cpu_sort_u64() local
148 return algo; in hs_cpu_sort_u64()
/external/u-boot/doc/uImage.FIT/
Dmulti.its22 algo = "md5";
25 algo = "sha1";
39 algo = "sha1";
53 algo = "md5";
67 algo = "sha1";
81 algo = "crc32";
92 algo = "crc32";
104 algo = "sha1";
Dkernel_fdts_compressed.its24 algo = "crc32";
27 algo = "sha1";
37 algo = "crc32";
40 algo = "sha1";
50 algo = "crc32";
53 algo = "sha1";
Dkernel_fdt.its22 algo = "crc32";
25 algo = "sha1";
35 algo = "crc32";
38 algo = "sha1";
Dhowto.txt98 Hash algo: crc32
100 Hash algo: sha1
143 Hash algo: crc32
145 Hash algo: sha1
165 Hash algo: crc32
167 Hash algo: sha1
208 Hash algo: crc32
210 Hash algo: sha1
218 Hash algo: crc32
220 Hash algo: sha1
[all …]
Dmulti-with-loadables.its23 algo = "md5";
35 algo = "md5";
47 algo = "md5";
61 algo = "md5";
Dkernel.its22 algo = "crc32";
25 algo = "sha1";
60 algo = "sha1";
74 algo = "sha1";
Dupdate3.its19 algo = "sha1";
29 algo = "sha1";
40 algo = "sha1";
/external/libnl/lib/route/cls/ematch/
Dtext.c89 void rtnl_ematch_text_set_algo(struct rtnl_ematch *e, const char *algo) in rtnl_ematch_text_set_algo() argument
93 strncpy(t->cfg.algo, algo, sizeof(t->cfg.algo)); in rtnl_ematch_text_set_algo()
100 return t->cfg.algo[0] ? t->cfg.algo : NULL; in rtnl_ematch_text_get_algo()
130 t->cfg.algo[0] ? t->cfg.algo : "no-algo", in text_dump()
/external/u-boot/include/
Dhw_sha.h44 int hw_sha_init(struct hash_algo *algo, void **ctxp);
58 int hw_sha_update(struct hash_algo *algo, void *ctx, const void *buf,
72 int hw_sha_finish(struct hash_algo *algo, void *ctx, void *dest_buf,
Dhash.h44 int (*hash_init)(struct hash_algo *algo, void **ctxp);
57 int (*hash_update)(struct hash_algo *algo, void *ctx, const void *buf,
71 int (*hash_finish)(struct hash_algo *algo, void *ctx, void *dest_buf,
/external/u-boot/prebuilt-intermediates/
Dhash.h44 int (*hash_init)(struct hash_algo *algo, void **ctxp);
57 int (*hash_update)(struct hash_algo *algo, void *ctx, const void *buf,
71 int (*hash_finish)(struct hash_algo *algo, void *ctx, void *dest_buf,
/external/kernel-headers/original/uapi/linux/
Dvirtio_crypto.h61 __le32 algo; member
83 __le32 algo; member
120 __le32 algo; member
148 __le32 algo; member
166 __le32 algo; member
271 __le32 algo; member
/external/u-boot/tools/binman/
Dstate.py334 algo = hash_node.props.get('algo')
335 if not algo:
337 if algo.value == 'sha256':
340 return "Unknown hash algorithm '%s'" % algo
347 algo = hash_node.props.get('algo').value
348 if algo == 'sha256':
/external/u-boot/test/py/tests/vboot/
Dsign-configs-sha256.its18 algo = "sha256";
29 algo = "sha256";
39 algo = "sha256,rsa2048";

1234567