renamed PRF_AES128_CBC to PRF_AES128_XCBC
This commit is contained in:
@@ -55,7 +55,7 @@ plugin_t *plugin_create()
|
||||
|
||||
this->public.plugin.destroy = (void(*)(plugin_t*))destroy;
|
||||
|
||||
lib->crypto->add_prf(lib->crypto, PRF_AES128_CBC,
|
||||
lib->crypto->add_prf(lib->crypto, PRF_AES128_XCBC,
|
||||
(prf_constructor_t)xcbc_prf_create);
|
||||
lib->crypto->add_signer(lib->crypto, AUTH_AES_XCBC_96,
|
||||
(signer_constructor_t)xcbc_signer_create);
|
||||
|
||||
@@ -105,7 +105,7 @@ xcbc_prf_t *xcbc_prf_create(pseudo_random_function_t algo)
|
||||
|
||||
switch (algo)
|
||||
{
|
||||
case PRF_AES128_CBC:
|
||||
case PRF_AES128_XCBC:
|
||||
xcbc = xcbc_create(ENCR_AES_CBC, 16);
|
||||
break;
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user