Home
last modified time | relevance | path

Searched refs:hmacdata (Results 1 – 2 of 2) sorted by relevance

/freebsd/crypto/openssl/test/recipes/
H A D20-test_dgst.t192 my @hmacdata = run(app(['openssl', 'dgst', '-sha256', '-hmac', '123456',
194 chomp(@hmacdata);
196 …ok($hmacdata[0] =~ $expected, "HMAC: Check HMAC value is as expected ($hmacdata[0]) vs ($expected)…
197 ok($hmacdata[1] =~ $expected,
198 "HMAC: Check second HMAC value is consistent with the first ($hmacdata[1]) vs ($expected)");
206 my @hmacdata = run(app(['openssl', 'dgst', '-hmac', '123456',
208 chomp(@hmacdata);
210 …ok($hmacdata[0] =~ $expected, "HMAC: Check HMAC value is as expected ($hmacdata[0]) vs ($expected)…
211 ok($hmacdata[1] =~ $expected,
212 "HMAC: Check second HMAC value is consistent with the first ($hmacdata[1]) vs ($expected)");
[all …]
/freebsd/sys/geom/eli/
H A Dg_eli_key_cache.c80 } __packed hmacdata; in g_eli_key_fill() local
87 bcopy("ekey", hmacdata.magic, 4); in g_eli_key_fill()
88 le64enc(hmacdata.keyno, keyno); in g_eli_key_fill()
89 g_eli_crypto_hmac(ekey, G_ELI_MAXKEYLEN, (uint8_t *)&hmacdata, in g_eli_key_fill()
90 sizeof(hmacdata), key->gek_key, 0); in g_eli_key_fill()