mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2025-12-21 21:36:21 +01:00
Minor fixes to comments
This commit is contained in:
parent
53e23b684f
commit
72b69e3808
2 changed files with 8 additions and 7 deletions
|
|
@ -64,7 +64,7 @@ void mbedtls_cmac_init( mbedtls_cmac_context *ctx )
|
|||
/*
|
||||
* Multiplication by u in the Galois field of GF(2^n)
|
||||
*
|
||||
* As explained in the paper, this can be computed:
|
||||
* As explained in NIST SP 800-38B, this can be computed:
|
||||
* If MSB(p) = 0, then p = (p << 1)
|
||||
* If MSB(p) = 1, then p = (p << 1) ^ R_n
|
||||
* with R_64 = 0x1B and R_128 = 0x87
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue