Searched refs:end (Results 1 – 7 of 7) sorted by relevance
/crypto/ |
D | dh_helper.c | 15 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, ¶ms->key_size, in crypto_dh_encode_key() 55 ptr = dh_pack_data(ptr, end, ¶ms->p_size, sizeof(params->p_size)); in crypto_dh_encode_key() 56 ptr = dh_pack_data(ptr, end, ¶ms->q_size, sizeof(params->q_size)); in crypto_dh_encode_key() 57 ptr = dh_pack_data(ptr, end, ¶ms->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 …]
|
D | tcrypt.c | 186 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 …]
|
D | keywrap.c | 104 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()
|
D | fips140_gen_hmac.c | 117 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()
|
D | testmgr.c | 915 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 …]
|
D | ecc.c | 252 u64 *end = vli; in vli_rshift1() local 257 while (vli-- > end) { in vli_rshift1()
|
D | Kconfig | 608 template, and that the IV appears at the end of the authenticated
|