Searched refs:ECC_BUF_SIZE (Results 1 – 7 of 7) sorted by relevance
/external/dropbear/libtomcrypt/src/pk/ecc/ |
D | ecc_decrypt_key.c | 70 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()
|
D | ecc_encrypt_key.c | 71 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()
|
D | ltc_ecc_mul2add.c | 57 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()
|
D | ecc_ansi_x963_export.c | 34 unsigned char buf[ECC_BUF_SIZE]; in ecc_ansi_x963_export()
|
/external/dropbear/libtomcrypt/testprof/ |
D | ecc_test.c | 38 unsigned char buf[ECC_BUF_SIZE]; in ecc_test_shamir()
|
/external/dropbear/libtomcrypt/src/headers/ |
D | tomcrypt_pk.h | 150 #define ECC_BUF_SIZE 256 macro
|
/external/dropbear/libtomcrypt/ |
D | changes | 195 …crypt_key() which could possibly lead to overflows (if MAXBLOCKSIZE > ECC_BUF_SIZE and you have a …
|