(name, usages)
| 97 | } |
| 98 | |
| 99 | function symmetricVectors(name, usages) { |
| 100 | const vectors = []; |
| 101 | for (const length of [128, 192, 256]) { |
| 102 | vectors.push(vector( |
| 103 | secretKey(length), |
| 104 | name, |
| 105 | usages, |
| 106 | { length })); |
| 107 | } |
| 108 | return vectors; |
| 109 | } |
| 110 | |
| 111 | function chacha20Poly1305Vectors() { |
| 112 | return [ |
no test coverage detected