/external/dropbear/libtomcrypt/src/headers/ |
D | tomcrypt_mac.h | 32 unsigned char block[MAXBLOCKSIZE], 33 prev[MAXBLOCKSIZE], 34 Lu[2][MAXBLOCKSIZE]; 59 unsigned char Ls[32][MAXBLOCKSIZE], /* L shifted by i bits to the left */ 60 … Li[MAXBLOCKSIZE], /* value of Li [current value, we calc from previous recall] */ 61 Lr[MAXBLOCKSIZE], /* L * x^-1 */ 62 block[MAXBLOCKSIZE], /* currently accumulated block */ 63 checksum[MAXBLOCKSIZE]; /* current checksum */ 106 unsigned char N[MAXBLOCKSIZE]; 142 unsigned char L[MAXBLOCKSIZE], /* L value */ [all …]
|
D | tomcrypt_cipher.h | 212 unsigned char IV[MAXBLOCKSIZE], 214 pad[MAXBLOCKSIZE]; 230 unsigned char IV[MAXBLOCKSIZE]; 244 unsigned char IV[MAXBLOCKSIZE]; 263 unsigned char ctr[MAXBLOCKSIZE], 265 pad[MAXBLOCKSIZE]; 307 unsigned char IV[MAXBLOCKSIZE], 308 MIV[MAXBLOCKSIZE];
|
D | tomcrypt.h | 23 #define MAXBLOCKSIZE 128 macro
|
/external/dropbear/libtomcrypt/src/encauth/eax/ |
D | eax_test.c | 35 unsigned char key[MAXBLOCKSIZE], in eax_test() 36 nonce[MAXBLOCKSIZE], in eax_test() 37 header[MAXBLOCKSIZE], in eax_test() 38 plaintext[MAXBLOCKSIZE], in eax_test() 39 ciphertext[MAXBLOCKSIZE], in eax_test() 40 tag[MAXBLOCKSIZE]; in eax_test() 218 unsigned char outct[MAXBLOCKSIZE], outtag[MAXBLOCKSIZE]; in eax_test()
|
D | eax_done.c | 38 headermac = XMALLOC(MAXBLOCKSIZE); in eax_done() 39 ctmac = XMALLOC(MAXBLOCKSIZE); in eax_done() 52 len = MAXBLOCKSIZE; in eax_done() 79 zeromem(ctmac, MAXBLOCKSIZE); in eax_done() 80 zeromem(headermac, MAXBLOCKSIZE); in eax_done()
|
D | eax_init.c | 56 buf = XMALLOC(MAXBLOCKSIZE); in eax_init() 70 zeromem(buf, MAXBLOCKSIZE); in eax_init() 90 zeromem(buf, MAXBLOCKSIZE); in eax_init() 121 zeromem(buf, MAXBLOCKSIZE); in eax_init() 130 zeromem(buf, MAXBLOCKSIZE); in eax_init()
|
/external/dropbear/libtomcrypt/demos/ |
D | tv_gen.c | 117 unsigned char md[MAXBLOCKSIZE], *buf; in hash_gen() 158 unsigned char *key, pt[MAXBLOCKSIZE]; in cipher_gen() 233 unsigned char key[MAXBLOCKSIZE], output[MAXBLOCKSIZE], *input; in hmac_gen() 285 unsigned char key[MAXBLOCKSIZE], output[MAXBLOCKSIZE], input[MAXBLOCKSIZE*2+2]; in omac_gen() 340 unsigned char key[MAXBLOCKSIZE], output[MAXBLOCKSIZE], input[MAXBLOCKSIZE*2+2]; in pmac_gen() 397 unsigned char key[MAXBLOCKSIZE], nonce[MAXBLOCKSIZE*2], header[MAXBLOCKSIZE*2], in eax_gen() 398 plaintext[MAXBLOCKSIZE*2], tag[MAXBLOCKSIZE]; in eax_gen() 457 unsigned char key[MAXBLOCKSIZE], nonce[MAXBLOCKSIZE*2], in ocb_gen() 458 plaintext[MAXBLOCKSIZE*2], tag[MAXBLOCKSIZE]; in ocb_gen() 521 unsigned char key[MAXBLOCKSIZE], nonce[MAXBLOCKSIZE*2], in ccm_gen() [all …]
|
D | encrypt.c | 98 unsigned char tmpkey[512], key[MAXBLOCKSIZE], IV[MAXBLOCKSIZE]; in main()
|
/external/dropbear/libtomcrypt/src/encauth/ocb/ |
D | s_ocb_done.c | 60 Z = XMALLOC(MAXBLOCKSIZE); in s_ocb_done() 61 Y = XMALLOC(MAXBLOCKSIZE); in s_ocb_done() 62 X = XMALLOC(MAXBLOCKSIZE); in s_ocb_done() 130 zeromem(X, MAXBLOCKSIZE); in s_ocb_done() 131 zeromem(Y, MAXBLOCKSIZE); in s_ocb_done() 132 zeromem(Z, MAXBLOCKSIZE); in s_ocb_done()
|
D | ocb_done_decrypt.c | 50 tagbuf = XMALLOC(MAXBLOCKSIZE); in ocb_done_decrypt() 55 tagbuflen = MAXBLOCKSIZE; in ocb_done_decrypt() 67 zeromem(tagbuf, MAXBLOCKSIZE); in ocb_done_decrypt()
|
D | ocb_encrypt.c | 29 unsigned char Z[MAXBLOCKSIZE], tmp[MAXBLOCKSIZE]; in ocb_encrypt()
|
D | ocb_decrypt.c | 29 unsigned char Z[MAXBLOCKSIZE], tmp[MAXBLOCKSIZE]; in ocb_decrypt()
|
D | ocb_test.c | 169 unsigned char outct[MAXBLOCKSIZE], outtag[MAXBLOCKSIZE]; in ocb_test()
|
D | ocb_init.c | 22 unsigned char poly_div[MAXBLOCKSIZE], 23 poly_mul[MAXBLOCKSIZE];
|
/external/dropbear/libtomcrypt/src/misc/pkcs5/ |
D | pkcs_5_2.c | 52 buf[0] = XMALLOC(MAXBLOCKSIZE * 2); in pkcs_5_alg2() 64 buf[1] = buf[0] + MAXBLOCKSIZE; in pkcs_5_alg2() 71 zeromem(buf[0], MAXBLOCKSIZE*2); in pkcs_5_alg2() 87 x = MAXBLOCKSIZE; in pkcs_5_alg2() 114 zeromem(buf[0], MAXBLOCKSIZE*2); in pkcs_5_alg2()
|
D | pkcs_5_1.c | 51 buf = XMALLOC(MAXBLOCKSIZE); in pkcs_5_alg1() 78 x = MAXBLOCKSIZE; in pkcs_5_alg1() 92 zeromem(buf, MAXBLOCKSIZE); in pkcs_5_alg1()
|
/external/dropbear/libtomcrypt/src/pk/dsa/ |
D | dsa_decrypt_key.c | 69 skey = XMALLOC(MAXBLOCKSIZE); in dsa_decrypt_key() 82 LTC_SET_ASN1(decode, 2, LTC_ASN1_OCTET_STRING, skey, MAXBLOCKSIZE); in dsa_decrypt_key() 95 y = MIN(mp_unsigned_bin_size(key->p) + 1, MAXBLOCKSIZE); in dsa_decrypt_key() 123 zeromem(skey, MAXBLOCKSIZE); in dsa_decrypt_key()
|
D | dsa_encrypt_key.c | 66 skey = XMALLOC(MAXBLOCKSIZE); in dsa_encrypt_key() 101 y = MAXBLOCKSIZE; in dsa_encrypt_key() 121 zeromem(skey, MAXBLOCKSIZE); in dsa_encrypt_key()
|
/external/dropbear/libtomcrypt/src/pk/ecc/ |
D | ecc_decrypt_key.c | 72 skey = XMALLOC(MAXBLOCKSIZE); in ecc_decrypt_key() 86 LTC_SET_ASN1(decode, 2, LTC_ASN1_OCTET_STRING, skey, MAXBLOCKSIZE); in ecc_decrypt_key() 106 y = MIN(ECC_BUF_SIZE, MAXBLOCKSIZE); in ecc_decrypt_key() 135 zeromem(skey, MAXBLOCKSIZE); in ecc_decrypt_key()
|
D | ecc_encrypt_key.c | 73 skey = XMALLOC(MAXBLOCKSIZE); in ecc_encrypt_key() 101 y = MAXBLOCKSIZE; in ecc_encrypt_key() 122 zeromem(skey, MAXBLOCKSIZE); in ecc_encrypt_key()
|
/external/dropbear/libtomcrypt/src/hashes/chc/ |
D | chc.c | 90 unsigned char buf[MAXBLOCKSIZE]; in chc_init() 134 unsigned char T[2][MAXBLOCKSIZE]; in chc_compress() 256 md[MAXBLOCKSIZE]; in chc_test() 267 unsigned char out[MAXBLOCKSIZE]; in chc_test()
|
/external/dropbear/libtomcrypt/src/mac/hmac/ |
D | hmac_test.c | 42 unsigned char digest[MAXBLOCKSIZE]; in hmac_test() 52 unsigned char digest[MAXBLOCKSIZE]; in hmac_test()
|
/external/dropbear/libtomcrypt/src/mac/pmac/ |
D | pmac_init.c | 22 unsigned char poly_div[MAXBLOCKSIZE], 23 poly_mul[MAXBLOCKSIZE];
|
D | pmac_test.c | 126 unsigned char outtag[MAXBLOCKSIZE]; in pmac_test()
|
/external/dropbear/libtomcrypt/src/misc/crypt/ |
D | crypt_find_hash_any.c | 32 y = MAXBLOCKSIZE+1; in find_hash_any()
|