Searched refs:hmacdata (Results 1 – 2 of 2) sorted by relevance
/freebsd/crypto/openssl/test/recipes/ |
H A D | 20-test_dgst.t | 173 my @hmacdata = run(app(['openssl', 'dgst', '-sha256', '-hmac', '123456', 175 chomp(@hmacdata); 177 …ok($hmacdata[0] =~ $expected, "HMAC: Check HMAC value is as expected ($hmacdata[0]) vs ($expected)… 178 ok($hmacdata[1] =~ $expected, 179 "HMAC: Check second HMAC value is consistent with the first ($hmacdata[1]) vs ($expected)"); 187 my @hmacdata = run(app(['openssl', 'dgst', '-hmac', '123456', 189 chomp(@hmacdata); 191 …ok($hmacdata[0] =~ $expected, "HMAC: Check HMAC value is as expected ($hmacdata[0]) vs ($expected)… 192 ok($hmacdata[1] =~ $expected, 193 "HMAC: Check second HMAC value is consistent with the first ($hmacdata[1]) vs ($expected)"); [all …]
|
/freebsd/sys/geom/eli/ |
H A D | g_eli_key_cache.c | 80 } __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()
|