Home
last modified time | relevance | path

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

12345

/external/u-boot/common/
Dhash.c33 static int hash_init_sha1(struct hash_algo *algo, void **ctxp) in hash_init_sha1() argument
41 static int hash_update_sha1(struct hash_algo *algo, void *ctx, const void *buf, in hash_update_sha1() argument
48 static int hash_finish_sha1(struct hash_algo *algo, void *ctx, void *dest_buf, in hash_finish_sha1() argument
51 if (size < algo->digest_size) in hash_finish_sha1()
61 static int hash_init_sha256(struct hash_algo *algo, void **ctxp) in hash_init_sha256() argument
69 static int hash_update_sha256(struct hash_algo *algo, void *ctx, in hash_update_sha256() argument
76 static int hash_finish_sha256(struct hash_algo *algo, void *ctx, void in hash_finish_sha256() argument
79 if (size < algo->digest_size) in hash_finish_sha256()
88 static int hash_init_crc32(struct hash_algo *algo, void **ctxp) in hash_init_crc32() argument
96 static int hash_update_crc32(struct hash_algo *algo, void *ctx, in hash_update_crc32() 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()
Drsa-verify.c38 struct checksum_algo *algo) in rsa_verify_padding() argument
48 ff_len = pad_len - algo->der_len - 3; in rsa_verify_padding()
55 ret |= memcmp(msg, algo->der_prefix, algo->der_len); in rsa_verify_padding()
76 const uint32_t key_len, struct checksum_algo *algo) in rsa_verify_key() argument
84 if (!prop || !sig || !hash || !algo) in rsa_verify_key()
92 debug("Checksum algorithm: %s", algo->name); in rsa_verify_key()
119 pad_len = key_len - algo->checksum_len; in rsa_verify_key()
122 ret = rsa_verify_padding(buf, pad_len, algo); in rsa_verify_key()
/external/u-boot/drivers/crypto/fsl/
Dfsl_hash.c45 static enum caam_hash_algos get_hash_type(struct hash_algo *algo) in get_hash_type() argument
47 if (!strcmp(algo->name, driver_hash[SHA1].name)) in get_hash_type()
162 unsigned char *pout, enum caam_hash_algos algo) in caam_hash() argument
184 driver_hash[algo].alg_type, in caam_hash()
185 driver_hash[algo].digestsize, in caam_hash()
193 size = ALIGN(driver_hash[algo].digestsize, ARCH_DMA_MINALIGN); in caam_hash()
215 int hw_sha_init(struct hash_algo *algo, void **ctxp) in hw_sha_init() argument
217 return caam_hash_init(ctxp, get_hash_type(algo)); in hw_sha_init()
220 int hw_sha_update(struct hash_algo *algo, void *ctx, const void *buf, in hw_sha_update() argument
223 return caam_hash_update(ctx, buf, size, is_last, get_hash_type(algo)); in hw_sha_update()
[all …]
/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/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/skia/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/skia/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/skia/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/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_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";
Dsign-configs.its18 algo = "sha1";
29 algo = "sha1";
39 algo = "sha1,rsa2048";
/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/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/iproute2/ip/
Dipxfrm.c498 static void __xfrm_algo_print(struct xfrm_algo *algo, int type, int len, in __xfrm_algo_print() argument
509 if (len < sizeof(*algo)) { in __xfrm_algo_print()
513 len -= sizeof(*algo); in __xfrm_algo_print()
515 fprintf(fp, "%s ", algo->alg_name); in __xfrm_algo_print()
517 keylen = algo->alg_key_len / 8; in __xfrm_algo_print()
526 fprintf(fp, "%.2x", (unsigned char)algo->alg_key[i]); in __xfrm_algo_print()
529 fprintf(fp, " (%d bits)", algo->alg_key_len); in __xfrm_algo_print()
537 static inline void xfrm_algo_print(struct xfrm_algo *algo, int type, int len, in xfrm_algo_print() argument
540 return __xfrm_algo_print(algo, type, len, fp, prefix, 1); in xfrm_algo_print()
543 static void xfrm_aead_print(struct xfrm_algo_aead *algo, int len, in xfrm_aead_print() argument
[all …]
/external/libaom/libaom/test/
Dcoding_path_sync.cc30 aom_codec_iface_t *algo = aom_codec_av1_cx(); in CompressedSource() local
33 aom_codec_enc_config_default(algo, &cfg, 0); in CompressedSource()
74 aom_codec_enc_init(&enc_, algo, &cfg, 0); in CompressedSource()
143 aom_codec_iface_t *algo = aom_codec_av1_dx(); in Decoder() local
148 aom_codec_dec_init(&dec_, algo, &cfg, 0); in Decoder()

12345