| OLD | NEW |
| 1 /* | 1 /* |
| 2 * hmac.c | 2 * hmac.c |
| 3 * | 3 * |
| 4 * implementation of hmac auth_type_t | 4 * implementation of hmac auth_type_t |
| 5 * | 5 * |
| 6 * David A. McGrew | 6 * David A. McGrew |
| 7 * Cisco Systems, Inc. | 7 * Cisco Systems, Inc. |
| 8 */ | 8 */ |
| 9 /* | 9 /* |
| 10 * | 10 * |
| (...skipping 24 matching lines...) Expand all Loading... |
| 35 * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES | 35 * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES |
| 36 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR | 36 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR |
| 37 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | 37 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) |
| 38 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, | 38 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, |
| 39 * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) | 39 * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) |
| 40 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED | 40 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED |
| 41 * OF THE POSSIBILITY OF SUCH DAMAGE. | 41 * OF THE POSSIBILITY OF SUCH DAMAGE. |
| 42 * | 42 * |
| 43 */ | 43 */ |
| 44 | 44 |
| 45 #ifdef HAVE_CONFIG_H |
| 46 #include <config.h> |
| 47 #endif |
| 48 |
| 45 #include "hmac.h" | 49 #include "hmac.h" |
| 46 #include "alloc.h" | 50 #include "alloc.h" |
| 47 | 51 |
| 48 /* the debug module for authentiation */ | 52 /* the debug module for authentiation */ |
| 49 | 53 |
| 50 debug_module_t mod_hmac = { | 54 debug_module_t mod_hmac = { |
| 51 0, /* debugging is off by default */ | 55 0, /* debugging is off by default */ |
| 52 "hmac sha-1" /* printable name for module */ | 56 "hmac sha-1" /* printable name for module */ |
| 53 }; | 57 }; |
| 54 | 58 |
| (...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 259 (auth_compute_func) hmac_compute, | 263 (auth_compute_func) hmac_compute, |
| 260 (auth_update_func) hmac_update, | 264 (auth_update_func) hmac_update, |
| 261 (auth_start_func) hmac_start, | 265 (auth_start_func) hmac_start, |
| 262 (char *) hmac_description, | 266 (char *) hmac_description, |
| 263 (int) 0, /* instance count */ | 267 (int) 0, /* instance count */ |
| 264 (auth_test_case_t *) &hmac_test_case_0, | 268 (auth_test_case_t *) &hmac_test_case_0, |
| 265 (debug_module_t *) &mod_hmac, | 269 (debug_module_t *) &mod_hmac, |
| 266 (auth_type_id_t) HMAC_SHA1 | 270 (auth_type_id_t) HMAC_SHA1 |
| 267 }; | 271 }; |
| 268 | 272 |
| OLD | NEW |