+2026-04-03 Niels Möller <nisse@lysator.liu.se>
+
+ * drbg-ctr-aes256.c (drbg_ctr_aes256_init): Use const for
+ seed_material argument.
+
2026-03-19 Niels Möller <nisse@lysator.liu.se>
* nettle.texinfo (Curve 25519 and Curve 448): Document that one
}
void
-drbg_ctr_aes256_init (struct drbg_ctr_aes256_ctx *ctx, uint8_t *seed_material)
+drbg_ctr_aes256_init (struct drbg_ctr_aes256_ctx *ctx, const uint8_t *seed_material)
{
static const uint8_t zero_key[AES256_KEY_SIZE] = {0};
SEED_MATERIAL. */
void
drbg_ctr_aes256_init (struct drbg_ctr_aes256_ctx *ctx,
- uint8_t *seed_material);
+ const uint8_t *seed_material);
/* Output N bytes of random data into DST. */
void
The size of the seeding material.
@end defvr
-@deftypefun void drbg_ctr_aes256_init (struct drbg_ctr_aes256_ctx *@var{ctx}, uint8_t *@var{seed_material})
+@deftypefun void drbg_ctr_aes256_init (struct drbg_ctr_aes256_ctx *@var{ctx}, const uint8_t *@var{seed_material})
Initialize the DRBG-CTR-AES256 context using
@code{DRBG_CTR_AES256_SEED_SIZE} bytes of @var{seed_material}.
@end deftypefun