Lines Matching defs:key
36 const char key[16];
94 ebcdic2ascii(test[2].key, test[2].key, test[2].key_len);
99 test[idx].key, test[idx].key_len,
143 || !TEST_false(HMAC_Init_ex(ctx, test[4].key, -1, EVP_sha1(), NULL)))
146 if (!TEST_true(HMAC_Init_ex(ctx, test[4].key, test[4].key_len, EVP_sha1(), NULL))
158 if (!TEST_true(HMAC_Init_ex(ctx, test[5].key, test[5].key_len, EVP_sha256(), NULL))
168 if (!TEST_true(HMAC_Init_ex(ctx, test[6].key, test[6].key_len, NULL, NULL))
176 /* Test reusing a key */
186 * Test reusing a key where the digest is provided again but is the same as
208 /* Test single-shot with NULL key. */
231 if (!TEST_true(HMAC_Init_ex(ctx, test[7].key, test[7].key_len, EVP_sha1(), NULL))
250 const unsigned char key[24] = {0};
259 key, sizeof(key)))