Searched refs:ocb3_state (Results 1 – 12 of 12) sorted by relevance
/optee_os-3.20.0/core/lib/libtomcrypt/src/encauth/ocb3/ |
A D | ocb3_encrypt_authenticate_memory.c | 37 ocb3_state *ocb; in ocb3_encrypt_authenticate_memory() 42 ocb = XMALLOC(sizeof(ocb3_state)); in ocb3_encrypt_authenticate_memory() 65 zeromem(ocb, sizeof(ocb3_state)); in ocb3_encrypt_authenticate_memory()
|
A D | ocb3_decrypt_verify_memory.c | 39 ocb3_state *ocb; in ocb3_decrypt_verify_memory() 53 ocb = XMALLOC(sizeof(ocb3_state)); in ocb3_decrypt_verify_memory() 92 zeromem(ocb, sizeof(ocb3_state)); in ocb3_decrypt_verify_memory()
|
A D | ocb3_add_aad.c | 18 static int s_ocb3_int_aad_add_block(ocb3_state *ocb, const unsigned char *aad_block) in s_ocb3_int_aad_add_block() 45 int ocb3_add_aad(ocb3_state *ocb, const unsigned char *aad, unsigned long aadlen) in ocb3_add_aad()
|
A D | ocb3_init.c | 12 static void s_ocb3_int_calc_offset_zero(ocb3_state *ocb, const unsigned char *nonce, unsigned long … in s_ocb3_int_calc_offset_zero() 82 int ocb3_init(ocb3_state *ocb, int cipher, in ocb3_init()
|
A D | ocb3_decrypt.c | 20 int ocb3_decrypt(ocb3_state *ocb, const unsigned char *ct, unsigned long ctlen, unsigned char *pt) in ocb3_decrypt()
|
A D | ocb3_encrypt.c | 20 int ocb3_encrypt(ocb3_state *ocb, const unsigned char *pt, unsigned long ptlen, unsigned char *ct) in ocb3_encrypt()
|
A D | ocb3_done.c | 19 int ocb3_done(ocb3_state *ocb, unsigned char *tag, unsigned long *taglen) in ocb3_done()
|
A D | ocb3_decrypt_last.c | 20 int ocb3_decrypt_last(ocb3_state *ocb, const unsigned char *ct, unsigned long ctlen, unsigned char … in ocb3_decrypt_last()
|
A D | ocb3_encrypt_last.c | 20 int ocb3_encrypt_last(ocb3_state *ocb, const unsigned char *pt, unsigned long ptlen, unsigned char … in ocb3_encrypt_last()
|
A D | ocb3_test.c | 203 ocb3_state ocb; in ocb3_test()
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/headers/ |
A D | tomcrypt_mac.h | 369 } ocb3_state; typedef 371 int ocb3_init(ocb3_state *ocb, int cipher, 376 int ocb3_encrypt(ocb3_state *ocb, const unsigned char *pt, unsigned long ptlen, unsigned char *ct); 377 int ocb3_decrypt(ocb3_state *ocb, const unsigned char *ct, unsigned long ctlen, unsigned char *pt); 378 int ocb3_encrypt_last(ocb3_state *ocb, const unsigned char *pt, unsigned long ptlen, unsigned char … 379 int ocb3_decrypt_last(ocb3_state *ocb, const unsigned char *ct, unsigned long ctlen, unsigned char … 380 int ocb3_add_aad(ocb3_state *ocb, const unsigned char *aad, unsigned long aadlen); 381 int ocb3_done(ocb3_state *ocb, unsigned char *tag, unsigned long *taglen);
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/misc/crypt/ |
A D | crypt_sizes.c | 210 SZ_STRINGIFY_T(ocb3_state),
|
Completed in 9 milliseconds