Home
last modified time | relevance | path

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

/external/dropbear/libtomcrypt/src/headers/
Dtomcrypt_mac.h153 } ocb_state; typedef
155 int ocb_init(ocb_state *ocb, int cipher,
158 int ocb_encrypt(ocb_state *ocb, const unsigned char *pt, unsigned char *ct);
159 int ocb_decrypt(ocb_state *ocb, const unsigned char *ct, unsigned char *pt);
161 int ocb_done_encrypt(ocb_state *ocb,
166 int ocb_done_decrypt(ocb_state *ocb,
189 void ocb_shift_xor(ocb_state *ocb, unsigned char *Z);
191 int s_ocb_done(ocb_state *ocb, const unsigned char *pt, unsigned long ptlen,
/external/dropbear/libtomcrypt/src/encauth/ocb/
Docb_encrypt_authenticate_memory.c41 ocb_state *ocb; in ocb_encrypt_authenticate_memory()
51 ocb = XMALLOC(sizeof(ocb_state)); in ocb_encrypt_authenticate_memory()
72 zeromem(ocb, sizeof(ocb_state)); in ocb_encrypt_authenticate_memory()
Docb_decrypt_verify_memory.c43 ocb_state *ocb; in ocb_decrypt_verify_memory()
53 ocb = XMALLOC(sizeof(ocb_state)); in ocb_decrypt_verify_memory()
74 zeromem(ocb, sizeof(ocb_state)); in ocb_decrypt_verify_memory()
Docb_done_encrypt.c30 int ocb_done_encrypt(ocb_state *ocb, const unsigned char *pt, unsigned long ptlen, in ocb_done_encrypt()
Docb_shift_xor.c25 void ocb_shift_xor(ocb_state *ocb, unsigned char *Z) in ocb_shift_xor()
Docb_done_decrypt.c31 int ocb_done_decrypt(ocb_state *ocb, in ocb_done_decrypt()
Docb_encrypt.c27 int ocb_encrypt(ocb_state *ocb, const unsigned char *pt, unsigned char *ct) in ocb_encrypt()
Docb_decrypt.c27 int ocb_decrypt(ocb_state *ocb, const unsigned char *ct, unsigned char *pt) in ocb_decrypt()
Ds_ocb_done.c39 int s_ocb_done(ocb_state *ocb, const unsigned char *pt, unsigned long ptlen, in s_ocb_done()
Docb_init.c47 int ocb_init(ocb_state *ocb, int cipher, in ocb_init()
/external/dropbear/libtomcrypt/
Dcrypt.tex1338 int ocb_init( ocb_state *ocb,
1354 int ocb_encrypt( ocb_state *ocb,
1358 int ocb_decrypt( ocb_state *ocb,
1374 int ocb_done_encrypt( ocb_state *ocb,
1393 int ocb_done_decrypt( ocb_state *ocb,