Home
last modified time | relevance | path

Searched refs:ocb_state (Results 1 – 11 of 11) sorted by relevance

/optee_os-3.20.0/core/lib/libtomcrypt/src/encauth/ocb/
A Docb_encrypt_authenticate_memory.c33 ocb_state *ocb; in ocb_encrypt_authenticate_memory()
43 ocb = XMALLOC(sizeof(ocb_state)); in ocb_encrypt_authenticate_memory()
64 zeromem(ocb, sizeof(ocb_state)); in ocb_encrypt_authenticate_memory()
A Docb_decrypt_verify_memory.c35 ocb_state *ocb; in ocb_decrypt_verify_memory()
45 ocb = XMALLOC(sizeof(ocb_state)); in ocb_decrypt_verify_memory()
66 zeromem(ocb, sizeof(ocb_state)); in ocb_decrypt_verify_memory()
A Docb_done_encrypt.c22 int ocb_done_encrypt(ocb_state *ocb, const unsigned char *pt, unsigned long ptlen, in ocb_done_encrypt()
A Docb_shift_xor.c17 void ocb_shift_xor(ocb_state *ocb, unsigned char *Z) in ocb_shift_xor()
A Docb_done_decrypt.c23 int ocb_done_decrypt(ocb_state *ocb, in ocb_done_decrypt()
A Docb_encrypt.c19 int ocb_encrypt(ocb_state *ocb, const unsigned char *pt, unsigned char *ct) in ocb_encrypt()
A Docb_decrypt.c19 int ocb_decrypt(ocb_state *ocb, const unsigned char *ct, unsigned char *pt) in ocb_decrypt()
A Ds_ocb_done.c31 int s_ocb_done(ocb_state *ocb, const unsigned char *pt, unsigned long ptlen, in s_ocb_done()
A Docb_init.c39 int ocb_init(ocb_state *ocb, int cipher, in ocb_init()
/optee_os-3.20.0/core/lib/libtomcrypt/src/headers/
A Dtomcrypt_mac.h304 } ocb_state; typedef
306 int ocb_init(ocb_state *ocb, int cipher,
309 int ocb_encrypt(ocb_state *ocb, const unsigned char *pt, unsigned char *ct);
310 int ocb_decrypt(ocb_state *ocb, const unsigned char *ct, unsigned char *pt);
312 int ocb_done_encrypt(ocb_state *ocb,
317 int ocb_done_decrypt(ocb_state *ocb,
340 void ocb_shift_xor(ocb_state *ocb, unsigned char *Z);
342 int s_ocb_done(ocb_state *ocb, const unsigned char *pt, unsigned long ptlen,
/optee_os-3.20.0/core/lib/libtomcrypt/src/misc/crypt/
A Dcrypt_sizes.c207 SZ_STRINGIFY_T(ocb_state),

Completed in 10 milliseconds