Home | History | Annotate | Download | only in tests

Lines Matching full:hash

23 	u8 hash[32];
50 u8 hash[32];
215 "Test Using Larger Than Block-Size Key - Hash Key First",
255 u8 hash[32];
265 sha256_vector(1, addr, len, hash);
266 if (memcmp(hash, tests[i].hash, 32) != 0) {
277 sha256_vector(2, addr, len, hash);
278 if (memcmp(hash, tests[i].hash, 32) != 0) {
292 hmac_sha256(t->key, t->key_len, t->data, t->data_len, hash);
293 if (memcmp(hash, t->hash, 32) != 0) {
301 hmac_sha256_vector(t->key, t->key_len, 1, addr, len, hash);
302 if (memcmp(hash, t->hash, 32) != 0) {
314 hash);
315 if (memcmp(hash, t->hash, 32) != 0) {
326 sha256_prf("abc", 3, "KDF test", "data", 4, hash, sizeof(hash));