(t *testing.T)
| 21 | ) |
| 22 | |
| 23 | func TestFS_Crypto(t *testing.T) { |
| 24 | fs := getProcFixtures(t) |
| 25 | crypto, err := fs.Crypto() |
| 26 | |
| 27 | if err != nil { |
| 28 | t.Fatalf("parsing of reference-file failed entirely: %s", err) |
| 29 | } |
| 30 | |
| 31 | refs := []Crypto{ |
| 32 | { |
| 33 | Name: "ccm(aes)", |
| 34 | Driver: "ccm_base(ctr(aes-aesni),cbcmac(aes-aesni))", |
| 35 | Module: "ccm", |
| 36 | Priority: newint64(300), |
| 37 | Refcnt: newint64(4), |
| 38 | Selftest: "passed", |
| 39 | Internal: "no", |
| 40 | Type: "aead", |
| 41 | Async: false, |
| 42 | Blocksize: newuint64(1), |
| 43 | Ivsize: newuint64(16), |
| 44 | Maxauthsize: newuint64(16), |
| 45 | Geniv: "<none>", |
| 46 | }, |
| 47 | { |
| 48 | Name: "cbcmac(aes)", |
| 49 | Driver: "cbcmac(aes-aesni)", |
| 50 | Module: "ccm", |
| 51 | Priority: newint64(300), |
| 52 | Refcnt: newint64(7), |
| 53 | Selftest: "passed", |
| 54 | Internal: "no", |
| 55 | Type: "shash", |
| 56 | Blocksize: newuint64(1), |
| 57 | Digestsize: newuint64(16), |
| 58 | }, |
| 59 | { |
| 60 | Name: "ecdh", |
| 61 | Driver: "ecdh-generic", |
| 62 | Module: "ecdh_generic", |
| 63 | Priority: newint64(100), |
| 64 | Refcnt: newint64(1), |
| 65 | Selftest: "passed", |
| 66 | Internal: "no", |
| 67 | Type: "kpp", |
| 68 | Async: true, |
| 69 | }, |
| 70 | { |
| 71 | Name: "ecb(arc4)", |
| 72 | Driver: "ecb(arc4)-generic", |
| 73 | Module: "arc4", |
| 74 | Priority: newint64(100), |
| 75 | Refcnt: newint64(1), |
| 76 | Selftest: "passed", |
| 77 | Internal: "no", |
| 78 | Type: "skcipher", |
| 79 | Async: false, |
| 80 | Blocksize: newuint64(1), |
nothing calls this directly
no test coverage detected
searching dependent graphs…