diff options
Diffstat (limited to 'rest/sha1.h')
-rw-r--r-- | rest/sha1.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/rest/sha1.h b/rest/sha1.h new file mode 100644 index 0000000..3538e21 --- /dev/null +++ b/rest/sha1.h @@ -0,0 +1,22 @@ +/* + * librest - RESTful web services access + * Copyright (c) 2008, 2009, Intel Corporation. + * + * Authors: Ross Burton <ross@linux.intel.com> + * + * This program is free software; you can redistribute it and/or modify it + * under the terms and conditions of the GNU Lesser General Public License, + * version 2.1, as published by the Free Software Foundation. + * + * This program is distributed in the hope it will be useful, but WITHOUT ANY + * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS + * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for + * more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA. + * + */ + +char * hmac_sha1 (const char *key, const char *message); |