/optee_os-3.20.0/core/lib/libtomcrypt/src/encauth/eax/ |
A D | eax_test.c | 27 unsigned char key[MAXBLOCKSIZE], in eax_test() 28 nonce[MAXBLOCKSIZE], in eax_test() 29 header[MAXBLOCKSIZE], in eax_test() 30 plaintext[MAXBLOCKSIZE], in eax_test() 31 ciphertext[MAXBLOCKSIZE], in eax_test() 32 tag[MAXBLOCKSIZE]; in eax_test() 210 unsigned char outct[MAXBLOCKSIZE], outtag[MAXBLOCKSIZE]; in eax_test()
|
A D | eax_done.c | 30 headermac = XMALLOC(MAXBLOCKSIZE); in eax_done() 31 ctmac = XMALLOC(MAXBLOCKSIZE); in eax_done() 44 len = MAXBLOCKSIZE; in eax_done() 71 zeromem(ctmac, MAXBLOCKSIZE); in eax_done() 72 zeromem(headermac, MAXBLOCKSIZE); in eax_done()
|
A D | eax_init.c | 48 buf = XMALLOC(MAXBLOCKSIZE); in eax_init() 62 zeromem(buf, MAXBLOCKSIZE); in eax_init() 82 zeromem(buf, MAXBLOCKSIZE); in eax_init() 113 zeromem(buf, MAXBLOCKSIZE); in eax_init() 122 zeromem(buf, MAXBLOCKSIZE); in eax_init()
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/misc/bcrypt/ |
A D | bcrypt.c | 106 hashed_pass = XMALLOC(MAXBLOCKSIZE); in bcrypt_pbkdf_openbsd() 117 buf[1] = buf[0] + MAXBLOCKSIZE; in bcrypt_pbkdf_openbsd() 118 buf[2] = buf[1] + MAXBLOCKSIZE; in bcrypt_pbkdf_openbsd() 123 hashed_pass_len = MAXBLOCKSIZE; in bcrypt_pbkdf_openbsd() 136 zeromem(buf[0], MAXBLOCKSIZE*2); in bcrypt_pbkdf_openbsd() 138 x = MAXBLOCKSIZE; in bcrypt_pbkdf_openbsd() 145 y = MAXBLOCKSIZE; in bcrypt_pbkdf_openbsd() 153 x = MAXBLOCKSIZE; in bcrypt_pbkdf_openbsd() 157 y = MAXBLOCKSIZE; in bcrypt_pbkdf_openbsd() 180 zeromem(buf[0], MAXBLOCKSIZE*3); in bcrypt_pbkdf_openbsd() [all …]
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/headers/ |
A D | tomcrypt_mac.h | 8 unsigned char key[MAXBLOCKSIZE]; 35 unsigned char block[MAXBLOCKSIZE], 36 prev[MAXBLOCKSIZE], 37 Lu[2][MAXBLOCKSIZE]; 65 Lr[MAXBLOCKSIZE], /* L * x^-1 */ 181 unsigned char K[3][MAXBLOCKSIZE], 182 IV[MAXBLOCKSIZE]; 214 unsigned char akey[MAXBLOCKSIZE], 215 ACC[MAXBLOCKSIZE], 216 IV[MAXBLOCKSIZE]; [all …]
|
A D | tomcrypt.h | 27 #define MAXBLOCKSIZE 144 macro
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/encauth/ocb/ |
A D | s_ocb_done.c | 52 Z = XMALLOC(MAXBLOCKSIZE); in s_ocb_done() 53 Y = XMALLOC(MAXBLOCKSIZE); in s_ocb_done() 54 X = XMALLOC(MAXBLOCKSIZE); in s_ocb_done() 122 zeromem(X, MAXBLOCKSIZE); in s_ocb_done() 123 zeromem(Y, MAXBLOCKSIZE); in s_ocb_done() 124 zeromem(Z, MAXBLOCKSIZE); in s_ocb_done()
|
A D | ocb_done_decrypt.c | 42 tagbuf = XMALLOC(MAXBLOCKSIZE); in ocb_done_decrypt() 47 tagbuflen = MAXBLOCKSIZE; in ocb_done_decrypt() 59 zeromem(tagbuf, MAXBLOCKSIZE); in ocb_done_decrypt()
|
A D | ocb_encrypt.c | 21 unsigned char Z[MAXBLOCKSIZE], tmp[MAXBLOCKSIZE]; in ocb_encrypt()
|
A D | ocb_decrypt.c | 21 unsigned char Z[MAXBLOCKSIZE], tmp[MAXBLOCKSIZE]; in ocb_decrypt()
|
A D | ocb_test.c | 161 unsigned char outct[MAXBLOCKSIZE], outtag[MAXBLOCKSIZE]; in ocb_test()
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/misc/pkcs5/ |
A D | pkcs_5_2.c | 48 buf[0] = XMALLOC(MAXBLOCKSIZE * 2); in pkcs_5_alg2() 60 buf[1] = buf[0] + MAXBLOCKSIZE; in pkcs_5_alg2() 67 zeromem(buf[0], MAXBLOCKSIZE*2); in pkcs_5_alg2() 83 x = MAXBLOCKSIZE; in pkcs_5_alg2() 110 zeromem(buf[0], MAXBLOCKSIZE*2); in pkcs_5_alg2()
|
A D | pkcs_5_1.c | 64 buf = XMALLOC(MAXBLOCKSIZE); in s_pkcs_5_alg1_common() 100 x = MAXBLOCKSIZE; in s_pkcs_5_alg1_common() 131 zeromem(buf, MAXBLOCKSIZE); in s_pkcs_5_alg1_common()
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/dsa/ |
A D | dsa_decrypt_key.c | 62 skey = XMALLOC(MAXBLOCKSIZE); in dsa_decrypt_key() 75 LTC_SET_ASN1(decode, 2, LTC_ASN1_OCTET_STRING, skey, MAXBLOCKSIZE); in dsa_decrypt_key() 89 y = MIN(y, MAXBLOCKSIZE); in dsa_decrypt_key() 117 zeromem(skey, MAXBLOCKSIZE); in dsa_decrypt_key()
|
A D | dsa_encrypt_key.c | 58 skey = XMALLOC(MAXBLOCKSIZE); in dsa_encrypt_key() 88 y = MAXBLOCKSIZE; in dsa_encrypt_key() 108 zeromem(skey, MAXBLOCKSIZE); in dsa_encrypt_key()
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/encauth/ocb3/ |
A D | ocb3_decrypt_last.c | 22 unsigned char iOffset_star[MAXBLOCKSIZE]; in ocb3_decrypt_last() 23 unsigned char iPad[MAXBLOCKSIZE]; in ocb3_decrypt_last() 94 zeromem(iOffset_star, MAXBLOCKSIZE); in ocb3_decrypt_last() 95 zeromem(iPad, MAXBLOCKSIZE); in ocb3_decrypt_last()
|
A D | ocb3_encrypt_last.c | 22 unsigned char iOffset_star[MAXBLOCKSIZE]; in ocb3_encrypt_last() 23 unsigned char iPad[MAXBLOCKSIZE]; in ocb3_encrypt_last() 95 zeromem(iOffset_star, MAXBLOCKSIZE); in ocb3_encrypt_last() 96 zeromem(iPad, MAXBLOCKSIZE); in ocb3_encrypt_last()
|
A D | ocb3_init.c | 16 unsigned char iNonce[MAXBLOCKSIZE]; in s_ocb3_int_calc_offset_zero() 17 unsigned char iKtop[MAXBLOCKSIZE]; in s_ocb3_int_calc_offset_zero() 18 unsigned char iStretch[MAXBLOCKSIZE+8]; in s_ocb3_int_calc_offset_zero() 59 unsigned char poly_mul[MAXBLOCKSIZE];
|
A D | ocb3_done.c | 21 unsigned char tmp[MAXBLOCKSIZE]; in ocb3_done() 75 zeromem(tmp, MAXBLOCKSIZE); in ocb3_done()
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/ecc/ |
A D | ecc_decrypt_key.c | 60 skey = XMALLOC(MAXBLOCKSIZE); in ecc_decrypt_key() 74 LTC_SET_ASN1(decode, 2, LTC_ASN1_OCTET_STRING, skey, MAXBLOCKSIZE); in ecc_decrypt_key() 93 y = MIN(ECC_BUF_SIZE, MAXBLOCKSIZE); in ecc_decrypt_key() 122 zeromem(skey, MAXBLOCKSIZE); in ecc_decrypt_key()
|
A D | ecc_encrypt_key.c | 54 skey = XMALLOC(MAXBLOCKSIZE); in ecc_encrypt_key() 89 y = MAXBLOCKSIZE; in ecc_encrypt_key() 110 zeromem(skey, MAXBLOCKSIZE); in ecc_encrypt_key()
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/misc/pkcs12/ |
A D | pkcs12_kdf.c | 23 unsigned char D[MAXBLOCKSIZE], A[MAXBLOCKSIZE], B[MAXBLOCKSIZE]; in pkcs12_kdf()
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/hashes/chc/ |
A D | chc.c | 82 unsigned char buf[MAXBLOCKSIZE]; in chc_init() 126 unsigned char T[2][MAXBLOCKSIZE]; in s_chc_compress() 257 hash[MAXBLOCKSIZE]; in chc_test() 268 unsigned char tmp[MAXBLOCKSIZE]; in chc_test()
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/misc/crypt/ |
A D | crypt_find_hash_any.c | 24 y = MAXBLOCKSIZE+1; in find_hash_any()
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/mac/hmac/ |
A D | hmac_test.c | 50 unsigned char digest[MAXBLOCKSIZE]; in hmac_test() 143 unsigned char digest[MAXBLOCKSIZE]; in hmac_test()
|