Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
Signed-off-by: Spencer Wilson <[email protected]>
  • Loading branch information
SWilson4 committed Jul 25, 2024
1 parent 92f7e05 commit 15fcdbe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/common/rand/rand_nist.c
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ static void AES256_ECB(unsigned char *key, unsigned char *ctr, unsigned char *bu

/* Create and initialise the context */
ctx = OSSL_FUNC(EVP_CIPHER_CTX_new)();
OQS_EXIT_IF_NULLPTR(ctx, "OpenSSL");
OQS_EXIT_IF_NULLPTR(ctx, "OpenSSL");

OQS_OPENSSL_GUARD(OSSL_FUNC(EVP_EncryptInit_ex)(ctx, oqs_aes_256_ecb(), NULL, key, NULL));
OQS_OPENSSL_GUARD(OSSL_FUNC(EVP_EncryptInit_ex)(ctx, oqs_aes_256_ecb(), NULL, key, NULL));
OQS_OPENSSL_GUARD(OSSL_FUNC(EVP_EncryptUpdate)(ctx, buffer, &len, ctr, 16));

/* Clean up */
Expand Down

0 comments on commit 15fcdbe

Please sign in to comment.