Lines Matching refs:lrw
21 LRW encrypt blocks
25 @param lrw The LRW state
27 int lrw_encrypt(const unsigned char *pt, unsigned char *ct, unsigned long len, symmetric_LRW *lrw)
33 LTC_ARGCHK(lrw != NULL);
35 if ((err = cipher_is_valid(lrw->cipher)) != CRYPT_OK) {
39 if (cipher_descriptor[lrw->cipher].accel_lrw_encrypt != NULL) {
40 return cipher_descriptor[lrw->cipher].accel_lrw_encrypt(pt, ct, len, lrw->IV, lrw->tweak, &lrw->key);
43 return lrw_process(pt, ct, len, LRW_ENCRYPT, lrw);
48 /* $Source: /cvs/libtom/libtomcrypt/src/modes/lrw/lrw_encrypt.c,v $ */