Mercurial > dropbear
comparison libtomcrypt/src/encauth/ocb/ocb_shift_xor.c @ 1511:5916af64acd4 fuzz
merge from main
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Sat, 17 Feb 2018 19:29:51 +0800 |
parents | 6dba84798cd5 |
children |
comparison
equal
deleted
inserted
replaced
1457:32f990cc96b1 | 1511:5916af64acd4 |
---|---|
3 * LibTomCrypt is a library that provides various cryptographic | 3 * LibTomCrypt is a library that provides various cryptographic |
4 * algorithms in a highly modular and flexible manner. | 4 * algorithms in a highly modular and flexible manner. |
5 * | 5 * |
6 * The library is free for all purposes without any express | 6 * The library is free for all purposes without any express |
7 * guarantee it works. | 7 * guarantee it works. |
8 * | |
9 * Tom St Denis, [email protected], http://libtom.org | |
10 */ | 8 */ |
11 | 9 |
12 /** | 10 /** |
13 @file ocb_shift_xor.c | 11 @file ocb_shift_xor.c |
14 OCB implementation, internal function, by Tom St Denis | 12 OCB implementation, internal function, by Tom St Denis |
15 */ | 13 */ |
16 #include "tomcrypt.h" | 14 #include "tomcrypt.h" |
17 | 15 |
18 #ifdef LTC_OCB_MODE | 16 #ifdef LTC_OCB_MODE |
19 | 17 |
20 /** | 18 /** |
21 Compute the shift/xor for OCB (internal function) | 19 Compute the shift/xor for OCB (internal function) |
22 @param ocb The OCB state | 20 @param ocb The OCB state |
23 @param Z The destination of the shift | 21 @param Z The destination of the shift |
24 */ | 22 */ |
25 void ocb_shift_xor(ocb_state *ocb, unsigned char *Z) | 23 void ocb_shift_xor(ocb_state *ocb, unsigned char *Z) |
26 { | 24 { |
27 int x, y; | 25 int x, y; |
32 } | 30 } |
33 } | 31 } |
34 | 32 |
35 #endif | 33 #endif |
36 | 34 |
37 /* $Source$ */ | 35 /* ref: $Format:%D$ */ |
38 /* $Revision$ */ | 36 /* git commit: $Format:%H$ */ |
39 /* $Date$ */ | 37 /* commit time: $Format:%ai$ */ |