Home
last modified time | relevance | path

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

/optee_os/core/lib/libtomcrypt/src/modes/ecb/
H A Decb_decrypt.c20 int ecb_decrypt(const unsigned char *ct, unsigned char *pt, unsigned long len, symmetric_ECB *ecb) in ecb_decrypt() function
38 if ((err = cipher_descriptor[ecb->cipher]->ecb_decrypt(ct, pt, &ecb->key)) != CRYPT_OK) { in ecb_decrypt()
/optee_os/core/lib/libtomcrypt/src/encauth/ocb/
H A Docb_decrypt.c32 LTC_ARGCHK(cipher_descriptor[ocb->cipher]->ecb_decrypt != NULL); in ocb_decrypt()
46 if ((err = cipher_descriptor[ocb->cipher]->ecb_decrypt(tmp, pt, &ocb->key)) != CRYPT_OK) { in ocb_decrypt()
/optee_os/core/lib/libtomcrypt/src/modes/xts/
H A Dxts_decrypt.c27 err = cipher_descriptor[xts->cipher]->ecb_decrypt(P, P, &xts->key1); in s_tweak_uncrypt()
139 if ((err = cipher_descriptor[xts->cipher]->ecb_decrypt(T, tweak, &xts->key2)) != CRYPT_OK) { in xts_decrypt()
H A Dxts_encrypt.c140 if ((err = cipher_descriptor[xts->cipher]->ecb_decrypt(T, tweak, &xts->key2)) != CRYPT_OK) { in xts_encrypt()
/optee_os/core/lib/libtomcrypt/src/encauth/ocb3/
H A Docb3_decrypt.c54 if ((err = cipher_descriptor[ocb->cipher]->ecb_decrypt(tmp, tmp, &ocb->key)) != CRYPT_OK) { in ocb3_decrypt()
/optee_os/core/lib/libtomcrypt/src/modes/cbc/
H A Dcbc_decrypt.c58 if ((err = cipher_descriptor[cbc->cipher]->ecb_decrypt(ct, tmp, &cbc->key)) != CRYPT_OK) { in cbc_decrypt()
/optee_os/core/lib/libtomcrypt/src/modes/lrw/
H A Dlrw_process.c84 if ((err = cipher_descriptor[lrw->cipher]->ecb_decrypt(ct, ct, &lrw->key)) != CRYPT_OK) { in lrw_process()
/optee_os/core/lib/libtomcrypt/
H A Decb.c49 c->update = ecb_decrypt; in ltc_ecb_init()
H A Daes_accel.c243 .ecb_decrypt = rijndael_ecb_decrypt,
H A Dsub.mk181 srcs-$(_CFG_CORE_LTC_ECB) += src/modes/ecb/ecb_decrypt.c
/optee_os/core/lib/libtomcrypt/src/headers/
H A Dtomcrypt_cipher.h412 int (*ecb_decrypt)(const unsigned char *ct, unsigned char *pt, const symmetric_key *skey); member
894 int ecb_decrypt(const unsigned char *ct, unsigned char *pt, unsigned long len, symmetric_ECB *ecb);