Home
last modified time | relevance | path

Searched refs:MAXBLOCKSIZE (Results 1 – 25 of 49) sorted by relevance

12

/optee_os-3.20.0/core/lib/libtomcrypt/src/encauth/eax/
A Deax_test.c27 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 Deax_done.c30 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 Deax_init.c48 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 Dbcrypt.c106 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 Dtomcrypt_mac.h8 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 Dtomcrypt.h27 #define MAXBLOCKSIZE 144 macro
/optee_os-3.20.0/core/lib/libtomcrypt/src/encauth/ocb/
A Ds_ocb_done.c52 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 Docb_done_decrypt.c42 tagbuf = XMALLOC(MAXBLOCKSIZE); in ocb_done_decrypt()
47 tagbuflen = MAXBLOCKSIZE; in ocb_done_decrypt()
59 zeromem(tagbuf, MAXBLOCKSIZE); in ocb_done_decrypt()
A Docb_encrypt.c21 unsigned char Z[MAXBLOCKSIZE], tmp[MAXBLOCKSIZE]; in ocb_encrypt()
A Docb_decrypt.c21 unsigned char Z[MAXBLOCKSIZE], tmp[MAXBLOCKSIZE]; in ocb_decrypt()
A Docb_test.c161 unsigned char outct[MAXBLOCKSIZE], outtag[MAXBLOCKSIZE]; in ocb_test()
/optee_os-3.20.0/core/lib/libtomcrypt/src/misc/pkcs5/
A Dpkcs_5_2.c48 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 Dpkcs_5_1.c64 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 Ddsa_decrypt_key.c62 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 Ddsa_encrypt_key.c58 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 Docb3_decrypt_last.c22 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 Docb3_encrypt_last.c22 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 Docb3_init.c16 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 Docb3_done.c21 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 Decc_decrypt_key.c60 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 Decc_encrypt_key.c54 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 Dpkcs12_kdf.c23 unsigned char D[MAXBLOCKSIZE], A[MAXBLOCKSIZE], B[MAXBLOCKSIZE]; in pkcs12_kdf()
/optee_os-3.20.0/core/lib/libtomcrypt/src/hashes/chc/
A Dchc.c82 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 Dcrypt_find_hash_any.c24 y = MAXBLOCKSIZE+1; in find_hash_any()
/optee_os-3.20.0/core/lib/libtomcrypt/src/mac/hmac/
A Dhmac_test.c50 unsigned char digest[MAXBLOCKSIZE]; in hmac_test()
143 unsigned char digest[MAXBLOCKSIZE]; in hmac_test()

Completed in 18 milliseconds

12