mirror of
https://github.com/xcat2/xNBA.git
synced 2025-01-21 23:13:14 +00:00
...but not when it's being used as a digest algorithm...
This commit is contained in:
parent
a502fcda45
commit
1fbd6f7d76
@ -37,12 +37,14 @@ static int null_setkey ( void *ctx __unused, void *key __unused,
|
||||
|
||||
static void null_encode ( void *ctx __unused, const void *src,
|
||||
void *dst, size_t len ) {
|
||||
memcpy ( dst, src, len );
|
||||
if ( dst )
|
||||
memcpy ( dst, src, len );
|
||||
}
|
||||
|
||||
static void null_decode ( void *ctx __unused, const void *src,
|
||||
void *dst, size_t len ) {
|
||||
memcpy ( dst, src, len );
|
||||
if ( dst )
|
||||
memcpy ( dst, src, len );
|
||||
}
|
||||
|
||||
static void null_final ( void *ctx __unused, void *out __unused ) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user