Searched refs:key_size_bytes (Results 1 – 4 of 4) sorted by relevance
22 size_t key_size_bytes = key_size / 8; in crypto_acipher_alloc_x25519_keypair() local29 if (key_size_bytes != X25519_KEY_SIZE_BYTES) in crypto_acipher_alloc_x25519_keypair()32 key->priv = calloc(1, key_size_bytes); in crypto_acipher_alloc_x25519_keypair()33 key->pub = calloc(1, key_size_bytes); in crypto_acipher_alloc_x25519_keypair()48 size_t key_size_bytes = key_size / 8; in crypto_acipher_gen_x25519_key() local50 if (key_size_bytes != X25519_KEY_SIZE_BYTES) in crypto_acipher_gen_x25519_key()57 if (key_size_bytes < sizeof(ltc_tmp_key.pub) || in crypto_acipher_gen_x25519_key()58 key_size_bytes < sizeof(ltc_tmp_key.priv)) in crypto_acipher_gen_x25519_key()
32 size_t *key_size_bytes, in ecc_get_curve_info() argument108 if (key_size_bytes) in ecc_get_curve_info()109 *key_size_bytes = size_bytes; in ecc_get_curve_info()141 size_t key_size_bytes = 0; in _ltc_ecc_generate_keypair() local256 size_t key_size_bytes = 0; in _ltc_ecc_sign() local264 &key_size_bytes); in _ltc_ecc_sign()269 *sig_len = 2 * key_size_bytes; in _ltc_ecc_sign()296 size_t key_size_bytes = 0; in _ltc_ecc_verify() local329 size_t key_size_bytes = 0; in _ltc_ecc_shared_secret() local336 0, &key_size_bytes); in _ltc_ecc_shared_secret()[all …]
41 uint32_t algo, size_t *key_size_bytes);44 uint32_t algo, size_t *key_size_bytes);
61 *key_size_bytes = 24; in ecc_get_keysize()68 *key_size_bytes = 28; in ecc_get_keysize()75 *key_size_bytes = 32; in ecc_get_keysize()82 *key_size_bytes = 48; in ecc_get_keysize()89 *key_size_bytes = 66; in ecc_get_keysize()96 *key_size_bytes = 32; in ecc_get_keysize()103 *key_size_bytes = 0; in ecc_get_keysize()152 size_t key_size_bytes = 0; in ecc_generate_keypair() local213 size_t key_size_bytes = 0; in ecc_sign() local246 *sig_len = 2 * key_size_bytes; in ecc_sign()[all …]
Completed in 6 milliseconds