Home
last modified time | relevance | path

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

/freebsd/crypto/libecc/src/tests/
H A Dec_utils.c58 u8 export_buf_size, priv_key_buf[EC_STRUCTURED_PRIV_KEY_MAX_EXPORT_SIZE]; in export_private_key() local
73 export_buf_size = EC_STRUCTURED_PRIV_KEY_EXPORT_SIZE(priv_key); in export_private_key()
75 export_buf_size); in export_private_key()
87 for (i = 0; i < export_buf_size; i++) { in export_private_key()
95 written = fwrite(priv_key_buf, 1, export_buf_size, file); in export_private_key()
96 if(written != export_buf_size){ in export_private_key()
115 u8 export_buf_size; in export_public_key() local
129 export_buf_size = EC_STRUCTURED_PUB_KEY_EXPORT_SIZE(pub_key); in export_public_key()
131 export_buf_size); in export_public_key()
143 for (i = 0; i < export_buf_size; i++) { in export_public_key()
[all …]