/optee_os-3.20.0/core/lib/libtomcrypt/src/encauth/ocb/ |
A D | ocb_decrypt_verify_memory.c | 29 const unsigned char *ct, unsigned long ctlen, in ocb_decrypt_verify_memory() argument 54 while (ctlen > (unsigned long)ocb->block_len) { in ocb_decrypt_verify_memory() 58 ctlen -= ocb->block_len; in ocb_decrypt_verify_memory() 63 err = ocb_done_decrypt(ocb, ct, ctlen, pt, tag, taglen, stat); in ocb_decrypt_verify_memory()
|
A D | ocb_done_decrypt.c | 24 const unsigned char *ct, unsigned long ctlen, in ocb_done_decrypt() argument 48 if ((err = s_ocb_done(ocb, ct, ctlen, pt, tagbuf, &tagbuflen, 1)) != CRYPT_OK) { in ocb_done_decrypt()
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/encauth/ocb3/ |
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() argument 27 if (ctlen == 0) return CRYPT_OK; /* no data, nothing to do */ in ocb3_decrypt() 38 if (ctlen % ocb->block_len) { /* ctlen has to bu multiple of block_len */ in ocb3_decrypt() 42 full_blocks = ctlen/ocb->block_len; in ocb3_decrypt()
|
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() argument 27 if (ct == NULL) LTC_ARGCHK(ctlen == 0); in ocb3_decrypt_last() 28 if (ctlen != 0) { in ocb3_decrypt_last() 37 full_blocks = ctlen/ocb->block_len; in ocb3_decrypt_last() 39 last_block_len = ctlen - full_blocks_len; in ocb3_decrypt_last()
|
A D | ocb3_decrypt_verify_memory.c | 33 const unsigned char *ct, unsigned long ctlen, in ocb3_decrypt_verify_memory() argument 74 if ((err = ocb3_decrypt_last(ocb, ct, ctlen, pt)) != CRYPT_OK) { in ocb3_decrypt_verify_memory()
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/encauth/chachapoly/ |
A D | chacha20poly1305_done.c | 24 padlen = 16 - (unsigned long)(st->ctlen % 16); in chacha20poly1305_done() 29 STORE64L(st->ctlen, buf + 8); in chacha20poly1305_done()
|
A D | chacha20poly1305_encrypt.c | 33 st->ctlen += (ulong64)inlen; in chacha20poly1305_encrypt()
|
A D | chacha20poly1305_decrypt.c | 34 st->ctlen += (ulong64)inlen; in chacha20poly1305_decrypt()
|
A D | chacha20poly1305_setiv.c | 51 st->ctlen = 0; in chacha20poly1305_setiv()
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/encauth/eax/ |
A D | eax_decrypt_verify_memory.c | 33 const unsigned char *ct, unsigned long ctlen, in eax_decrypt_verify_memory() argument 72 if ((err = eax_decrypt(eax, ct, pt, ctlen)) != CRYPT_OK) { in eax_decrypt_verify_memory()
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/headers/ |
A D | tomcrypt_mac.h | 283 const unsigned char *ct, unsigned long ctlen, 318 const unsigned char *ct, unsigned long ctlen, 332 const unsigned char *ct, unsigned long ctlen, 377 int ocb3_decrypt(ocb3_state *ocb, const unsigned char *ct, unsigned long ctlen, unsigned char *pt); 379 int ocb3_decrypt_last(ocb3_state *ocb, const unsigned char *ct, unsigned long ctlen, unsigned char … 395 const unsigned char *ct, unsigned long ctlen, 544 ulong64 ctlen; member
|