X-Git-Url: https://git.distorted.org.uk/~mdw/secnet/blobdiff_plain/952f601f3501b0e40083f5d1a6ef166b8b62a813..6f0c71c532c29b8900ce4cdd85efcedd020badbd:/transform-cbcmac.c diff --git a/transform-cbcmac.c b/transform-cbcmac.c index f748792..7e6a1f7 100644 --- a/transform-cbcmac.c +++ b/transform-cbcmac.c @@ -1,5 +1,24 @@ /* Transform module - bulk data transformation */ +/* + * This file is part of secnet. + * See README for full list of copyright holders. + * + * secnet is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 3 of the License, or + * (at your option) any later version. + * + * secnet is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * version 3 along with secnet; if not, see + * https://www.gnu.org/licenses/gpl.html. + */ + /* For now it's hard-coded to do sequence number/pkcs5/serpent-cbcmac/serpent with a 256 bit key for each instance of serpent. We also require key material for the IVs for @@ -273,7 +292,7 @@ static list_t *transform_apply(closure_t *self, struct cloc loc, /* First parameter must be a dict */ item=list_elem(args,0); if (!item || item->type!=t_dict) - cfgfatal(loc,"userv-ipif","parameter must be a dictionary\n"); + cfgfatal(loc,"serpent256-cbc","parameter must be a dictionary\n"); dict=item->data.dict;