mirror of https://github.com/ipxe/ipxe.git
disable AES_convert_key by #if 0'ing it out (suggested by mcb30)
parent
2c7ffa8c27
commit
426c2c150d
|
@ -238,6 +238,9 @@ void AES_set_key(AES_CTX *ctx, const uint8_t *key,
|
||||||
memcpy(ctx->iv, iv, 16);
|
memcpy(ctx->iv, iv, 16);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if 0
|
||||||
|
/** currently unused function **/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Change a key for decryption.
|
* Change a key for decryption.
|
||||||
*/
|
*/
|
||||||
|
@ -256,6 +259,7 @@ void AES_convert_key(AES_CTX *ctx)
|
||||||
*k++ =w;
|
*k++ =w;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Encrypt a byte sequence (with a block size 16) using the AES cipher.
|
* Encrypt a byte sequence (with a block size 16) using the AES cipher.
|
||||||
|
|
Loading…
Reference in New Issue