1 /* LibTomCrypt, modular cryptographic library -- Tom St Denis
3 * LibTomCrypt is a library that provides various cryptographic
4 * algorithms in a highly modular and flexible manner.
6 * The library is free for all purposes without any express
13 OFB implementation, decrypt data, Tom St Denis
21 @param pt [out] Plaintext
22 @param len Length of ciphertext (octets)
24 @return CRYPT_OK if successful
26 int ofb_decrypt(const unsigned char *ct, unsigned char *pt, unsigned long len, symmetric_OFB *ofb)
28 LTC_ARGCHK(pt != NULL);
29 LTC_ARGCHK(ct != NULL);
30 LTC_ARGCHK(ofb != NULL);
31 return ofb_encrypt(ct, pt, len, ofb);
39 /* ref: $Format:%D$ */
40 /* git commit: $Format:%H$ */
41 /* commit time: $Format:%ai$ */