Home
last modified time | relevance | path

Searched refs:ocb3_state (Results 1 – 12 of 12) sorted by relevance

/optee_os-3.20.0/core/lib/libtomcrypt/src/encauth/ocb3/
A Docb3_encrypt_authenticate_memory.c37 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 Docb3_decrypt_verify_memory.c39 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 Docb3_add_aad.c18 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 Docb3_init.c12 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 Docb3_decrypt.c20 int ocb3_decrypt(ocb3_state *ocb, const unsigned char *ct, unsigned long ctlen, unsigned char *pt) in ocb3_decrypt()
A Docb3_encrypt.c20 int ocb3_encrypt(ocb3_state *ocb, const unsigned char *pt, unsigned long ptlen, unsigned char *ct) in ocb3_encrypt()
A Docb3_done.c19 int ocb3_done(ocb3_state *ocb, unsigned char *tag, unsigned long *taglen) in ocb3_done()
A Docb3_decrypt_last.c20 int ocb3_decrypt_last(ocb3_state *ocb, const unsigned char *ct, unsigned long ctlen, unsigned char … in ocb3_decrypt_last()
A Docb3_encrypt_last.c20 int ocb3_encrypt_last(ocb3_state *ocb, const unsigned char *pt, unsigned long ptlen, unsigned char … in ocb3_encrypt_last()
A Docb3_test.c203 ocb3_state ocb; in ocb3_test()
/optee_os-3.20.0/core/lib/libtomcrypt/src/headers/
A Dtomcrypt_mac.h369 } 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 Dcrypt_sizes.c210 SZ_STRINGIFY_T(ocb3_state),

Completed in 9 milliseconds