Skip to content

Commit

Permalink
sha3 hacl names
Browse files Browse the repository at this point in the history
  • Loading branch information
karthikbhargavan committed Sep 29, 2023
1 parent 8b1a697 commit e7e2289
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions crypto/sha3-hacl.c
Original file line number Diff line number Diff line change
Expand Up @@ -71,42 +71,42 @@ EXPORT_SYMBOL(hacl_sha3_final);

static struct shash_alg algs[] = { {
.digestsize = SHA3_224_DIGEST_SIZE,
.init = crypto_sha3_init,
.update = crypto_sha3_update,
.final = crypto_sha3_final,
.init = hacl_sha3_init,
.update = hacl_sha3_update,
.final = hacl_sha3_final,
.descsize = sizeof(struct sha3_state),
.base.cra_name = "sha3-224",
.base.cra_driver_name = "sha3-224-generic",
.base.cra_driver_name = "sha3-224-hacl",
.base.cra_blocksize = SHA3_224_BLOCK_SIZE,
.base.cra_module = THIS_MODULE,
}, {
.digestsize = SHA3_256_DIGEST_SIZE,
.init = crypto_sha3_init,
.update = crypto_sha3_update,
.final = crypto_sha3_final,
.init = hacl_sha3_init,
.update = hacl_sha3_update,
.final = hacl_sha3_final,
.descsize = sizeof(struct sha3_state),
.base.cra_name = "sha3-256",
.base.cra_driver_name = "sha3-256-generic",
.base.cra_driver_name = "sha3-256-hacl",
.base.cra_blocksize = SHA3_256_BLOCK_SIZE,
.base.cra_module = THIS_MODULE,
}, {
.digestsize = SHA3_384_DIGEST_SIZE,
.init = crypto_sha3_init,
.update = crypto_sha3_update,
.final = crypto_sha3_final,
.init = hacl_sha3_init,
.update = hacl_sha3_update,
.final = hacl_sha3_final,
.descsize = sizeof(struct sha3_state),
.base.cra_name = "sha3-384",
.base.cra_driver_name = "sha3-384-generic",
.base.cra_driver_name = "sha3-384-hacl",
.base.cra_blocksize = SHA3_384_BLOCK_SIZE,
.base.cra_module = THIS_MODULE,
}, {
.digestsize = SHA3_512_DIGEST_SIZE,
.init = crypto_sha3_init,
.update = crypto_sha3_update,
.final = crypto_sha3_final,
.init = hacl_sha3_init,
.update = hacl_sha3_update,
.final = hacl_sha3_final,
.descsize = sizeof(struct sha3_state),
.base.cra_name = "sha3-512",
.base.cra_driver_name = "sha3-512-generic",
.base.cra_driver_name = "sha3-512-hacl",
.base.cra_blocksize = SHA3_512_BLOCK_SIZE,
.base.cra_module = THIS_MODULE,
} };
Expand Down

0 comments on commit e7e2289

Please sign in to comment.