llHMAC: Make more elaborate tests and allow running them

This commit is contained in:
Sei Lisa 2023-03-08 19:32:49 +01:00
parent 500a8bb751
commit e4c9627772
4 changed files with 26 additions and 3 deletions

View file

@ -1,4 +1,16 @@
[ llHMAC("a", "b", "sha1")
[ llHMAC("", "", "md5")
, llHMAC("", "", "sha1")
, llHMAC("", "", "sha224")
, llHMAC("", "", "sha256")
, llHMAC("", "", "sha384")
, llHMAC("", "", "sha512")
, llHMAC("a", "b", "md5")
, llHMAC("a", "b", "sha1")
, llHMAC("a", "b", "sha224")
, llHMAC("a", "b", "sha256")
, llHMAC("a", "b", "sha384")
, llHMAC("a", "b", "sha512")
// example from the wiki (?)
, llHMAC("-----BEGIN RSA PRIVATE KEY-----
MIIEogIBAAKCAQEAqxXSIhFHzYO9UNEUvMMXwhB4vf32fPirCxxV/w4m88jKPmFH
QQe9DOwj7illmvg+81vzBNGt+uNYy/2zFegUtwvxKCEioeoanRpPcvn9r/d/kXad