Home
last modified time | relevance | path

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

/crypto/
A 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->g_size, sizeof(params->g_size)); in crypto_dh_encode_key()
57 ptr = dh_pack_data(ptr, end, params->key, params->key_size); in crypto_dh_encode_key()
58 ptr = dh_pack_data(ptr, end, params->p, params->p_size); in crypto_dh_encode_key()
59 ptr = dh_pack_data(ptr, end, params->g, params->g_size); in crypto_dh_encode_key()
[all …]
A Dtcrypt.c223 cycles_t start, end; in test_mb_aead_cycles() local
227 end = get_cycles(); in test_mb_aead_cycles()
232 cycles += end - start; in test_mb_aead_cycles()
495 cycles_t start, end; in test_aead_cycles() local
502 end = get_cycles(); in test_aead_cycles()
786 cycles_t start, end; in test_ahash_cycles_digest() local
794 end = get_cycles(); in test_ahash_cycles_digest()
835 cycles_t start, end; in test_ahash_cycles() local
851 end = get_cycles(); in test_ahash_cycles()
1044 end = get_cycles(); in test_mb_acipher_cycles()
[all …]
A Dtestmgr.c1103 char * const end = name + max_namelen; in generate_random_testvec_config() local
1109 p += scnprintf(p, end - p, "random:"); in generate_random_testvec_config()
1149 p += scnprintf(p, end - p, " nosimd"); in generate_random_testvec_config()
1159 ARRAY_SIZE(cfg->src_divs), p, end, in generate_random_testvec_config()
1163 p += scnprintf(p, end - p, "]"); in generate_random_testvec_config()
1169 p, end, false, in generate_random_testvec_config()
1171 p += scnprintf(p, end - p, "]"); in generate_random_testvec_config()
5732 int end = ARRAY_SIZE(alg_test_descs); in alg_find_test() local
5734 while (start < end) { in alg_find_test()
5735 int i = (start + end) / 2; in alg_find_test()
[all …]
A Decc.c279 u64 *end = vli; in vli_rshift1() local
284 while (vli-- > end) { in vli_rshift1()
A DKconfig873 template, and that the IV appears at the end of the authenticated
/crypto/asymmetric_keys/
A Dx509_loader.c12 const u8 *p, *end; in x509_load_certificate_list() local
16 end = p + list_size; in x509_load_certificate_list()
17 while (p < end) { in x509_load_certificate_list()
21 if (end - p < 4) in x509_load_certificate_list()
28 if (plen > end - p) in x509_load_certificate_list()

Completed in 28 milliseconds