|
|
|
+ SHOULD_FAIL_WITH(hash_memory(find_hash("sha256"), buf[0], len2, buf[0], &len), CRYPT_HASH_OVERFLOW);
|
|
hash_memory(find_hash("sha256"), (unsigned char*)"hello", 5, buf[0], &len);
|
|
hash_memory(find_hash("sha256"), (unsigned char*)"hello", 5, buf[0], &len);
|
|
hash_memory_multi(find_hash("sha256"), buf[1], &len2, (unsigned char*)"hello", 5, NULL);
|
|
hash_memory_multi(find_hash("sha256"), buf[1], &len2, (unsigned char*)"hello", 5, NULL);
|