Home
last modified time | relevance | path

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

/external/dropbear/libtomcrypt/src/pk/ecc/
Decc_decrypt_key.c70 pub_expt = XMALLOC(ECC_BUF_SIZE); in ecc_decrypt_key()
71 ecc_shared = XMALLOC(ECC_BUF_SIZE); in ecc_decrypt_key()
85 LTC_SET_ASN1(decode, 1, LTC_ASN1_OCTET_STRING, pub_expt, ECC_BUF_SIZE); in ecc_decrypt_key()
99 x = ECC_BUF_SIZE; in ecc_decrypt_key()
106 y = MIN(ECC_BUF_SIZE, MAXBLOCKSIZE); in ecc_decrypt_key()
133 zeromem(pub_expt, ECC_BUF_SIZE); in ecc_decrypt_key()
134 zeromem(ecc_shared, ECC_BUF_SIZE); in ecc_decrypt_key()
Decc_encrypt_key.c71 pub_expt = XMALLOC(ECC_BUF_SIZE); in ecc_encrypt_key()
72 ecc_shared = XMALLOC(ECC_BUF_SIZE); in ecc_encrypt_key()
88 pubkeysize = ECC_BUF_SIZE; in ecc_encrypt_key()
95 x = ECC_BUF_SIZE; in ecc_encrypt_key()
120 zeromem(pub_expt, ECC_BUF_SIZE); in ecc_encrypt_key()
121 zeromem(ecc_shared, ECC_BUF_SIZE); in ecc_encrypt_key()
Dltc_ecc_mul2add.c57 tA = XCALLOC(1, ECC_BUF_SIZE); in ltc_ecc_mul2add()
61 tB = XCALLOC(1, ECC_BUF_SIZE); in ltc_ecc_mul2add()
73 if ((lenA > ECC_BUF_SIZE) || (lenB > ECC_BUF_SIZE)) { in ltc_ecc_mul2add()
193 zeromem(tA, ECC_BUF_SIZE); in ltc_ecc_mul2add()
194 zeromem(tB, ECC_BUF_SIZE); in ltc_ecc_mul2add()
Decc_ansi_x963_export.c34 unsigned char buf[ECC_BUF_SIZE]; in ecc_ansi_x963_export()
/external/dropbear/libtomcrypt/testprof/
Decc_test.c38 unsigned char buf[ECC_BUF_SIZE]; in ecc_test_shamir()
/external/dropbear/libtomcrypt/src/headers/
Dtomcrypt_pk.h150 #define ECC_BUF_SIZE 256 macro
/external/dropbear/libtomcrypt/
Dchanges195 …crypt_key() which could possibly lead to overflows (if MAXBLOCKSIZE > ECC_BUF_SIZE and you have a …