Home
last modified time | relevance | path

Searched refs:end (Results 1 – 7 of 7) sorted by relevance

/crypto/
Ddh_helper.c15 static inline u8 *dh_pack_data(u8 *dst, u8 *end, const void *src, size_t size) in dh_pack_data() argument
17 if (!dst || size > end - dst) in dh_pack_data()
43 u8 * const end = ptr + len; in crypto_dh_encode_key() local
52 ptr = dh_pack_data(ptr, end, &secret, sizeof(secret)); in crypto_dh_encode_key()
53 ptr = dh_pack_data(ptr, end, &params->key_size, in crypto_dh_encode_key()
55 ptr = dh_pack_data(ptr, end, &params->p_size, sizeof(params->p_size)); in crypto_dh_encode_key()
56 ptr = dh_pack_data(ptr, end, &params->q_size, sizeof(params->q_size)); in crypto_dh_encode_key()
57 ptr = dh_pack_data(ptr, end, &params->g_size, sizeof(params->g_size)); in crypto_dh_encode_key()
58 ptr = dh_pack_data(ptr, end, params->key, params->key_size); in crypto_dh_encode_key()
59 ptr = dh_pack_data(ptr, end, params->p, params->p_size); in crypto_dh_encode_key()
[all …]
Dtcrypt.c186 unsigned long start, end; in test_mb_aead_jiffies() local
195 for (start = jiffies, end = start + secs * HZ, bcount = 0; in test_mb_aead_jiffies()
196 time_before(jiffies, end); bcount++) { in test_mb_aead_jiffies()
231 cycles_t start, end; in test_mb_aead_cycles() local
235 end = get_cycles(); in test_mb_aead_cycles()
240 cycles += end - start; in test_mb_aead_cycles()
464 unsigned long start, end; in test_aead_jiffies() local
468 for (start = jiffies, end = start + secs * HZ, bcount = 0; in test_aead_jiffies()
469 time_before(jiffies, end); bcount++) { in test_aead_jiffies()
503 cycles_t start, end; in test_aead_cycles() local
[all …]
Dkeywrap.c104 unsigned int end) in crypto_kw_scatterlist_ff() argument
109 BUG_ON(end < SEMIBSIZE); in crypto_kw_scatterlist_ff()
111 skip = end - SEMIBSIZE; in crypto_kw_scatterlist_ff()
Dfips140_gen_hmac.c117 static void hmac_section(HMAC_CTX *hmac, const char *start, const char *end) in hmac_section() argument
120 void *end_addr = get_sym_addr(end); in hmac_section()
Dtestmgr.c915 size_t max_divs, char *p, char *end, in generate_random_sgl_divisions() argument
976 p += scnprintf(p, end - p, "%s%u.%u%%@%s+%u%s", flushtype_str, in generate_random_sgl_divisions()
993 char * const end = name + max_namelen; in generate_random_testvec_config() local
999 p += scnprintf(p, end - p, "random:"); in generate_random_testvec_config()
1003 p += scnprintf(p, end - p, " inplace"); in generate_random_testvec_config()
1008 p += scnprintf(p, end - p, " may_sleep"); in generate_random_testvec_config()
1014 p += scnprintf(p, end - p, " use_final"); in generate_random_testvec_config()
1018 p += scnprintf(p, end - p, " use_finup"); in generate_random_testvec_config()
1022 p += scnprintf(p, end - p, " use_digest"); in generate_random_testvec_config()
1029 p += scnprintf(p, end - p, " nosimd"); in generate_random_testvec_config()
[all …]
Decc.c252 u64 *end = vli; in vli_rshift1() local
257 while (vli-- > end) { in vli_rshift1()
DKconfig586 template, and that the IV appears at the end of the authenticated