Searched refs:digest_length (Results 1 – 9 of 9) sorted by relevance
/openssl/demos/digest/ |
H A D | EVP_MD_demo.c | 86 unsigned int digest_length; in demonstrate_digest() local 108 digest_length = EVP_MD_get_size(message_digest); in demonstrate_digest() 109 if (digest_length <= 0) { in demonstrate_digest() 114 digest_value = OPENSSL_malloc(digest_length); in demonstrate_digest() 145 if (EVP_DigestFinal(digest_context, digest_value, &digest_length) != 1) { in demonstrate_digest() 149 for (j=0; j<digest_length; j++) { in demonstrate_digest() 154 if ((size_t)digest_length != sizeof(known_answer)) { in demonstrate_digest() 156 digest_length, sizeof(known_answer)); in demonstrate_digest() 157 } else if (memcmp(digest_value, known_answer, digest_length) != 0) { in demonstrate_digest()
|
H A D | EVP_MD_stdin.c | 41 unsigned int digest_length; in demonstrate_digest() local 66 digest_length = EVP_MD_get_size(message_digest); in demonstrate_digest() 67 if (digest_length <= 0) { in demonstrate_digest() 72 digest_value = OPENSSL_malloc(digest_length); in demonstrate_digest() 102 if (EVP_DigestFinal(digest_context, digest_value, &digest_length) != 1) { in demonstrate_digest() 107 for (ii=0; ii<digest_length; ii++) { in demonstrate_digest()
|
/openssl/providers/implementations/digests/ |
H A D | blake2_prov.c | 50 && !OSSL_PARAM_set_uint(p, (unsigned int)mdctx->params.digest_length)) { \ 90 uint8_t digest_length = mdctx->params.digest_length; \ 93 if (digest_length != 0) \ 94 mdctx->params.digest_length = digest_length; \
|
H A D | blake2b_prov.c | 72 S->outlen = P->digest_length; in blake2b_init_param() 86 P->digest_length = BLAKE2B_DIGEST_LENGTH; in ossl_blake2b_param_init() 101 P->digest_length = outlen; in ossl_blake2b_param_set_digest_length()
|
H A D | blake2s_prov.c | 65 S->outlen = P->digest_length; in blake2s_init_param() 78 P->digest_length = BLAKE2S_DIGEST_LENGTH; in ossl_blake2s_param_init() 92 P->digest_length = outlen; in ossl_blake2s_param_set_digest_length()
|
/openssl/test/ |
H A D | evp_xof_test.c | 205 unsigned int digest_length = 0; in shake_kat_digestfinal_test() local 216 if (!TEST_false(EVP_DigestFinal(ctx, out, &digest_length))) { in shake_kat_digestfinal_test() 247 unsigned int digest_length = 0; in shake_kat_digestfinal_xoflen_test() local 269 || !TEST_true(EVP_DigestFinal(ctx, out, &digest_length)) in shake_kat_digestfinal_xoflen_test() 270 || !TEST_uint_eq(digest_length, (unsigned int)sz) in shake_kat_digestfinal_xoflen_test() 271 || !TEST_mem_eq(out, digest_length, in shake_kat_digestfinal_xoflen_test() 272 shake256_output, digest_length) in shake_kat_digestfinal_xoflen_test() 273 || !TEST_uchar_eq(out[digest_length], 0)) in shake_kat_digestfinal_xoflen_test()
|
/openssl/providers/implementations/include/prov/ |
H A D | blake2.h | 32 uint8_t digest_length; /* 1 */ member 56 uint8_t digest_length; /* 1 */ member
|
/openssl/test/recipes/30-test_evp_data/ |
H A D | evpmac_blake.txt | 184 Input = "Sample input for outlen<digest_length" 190 Input = "Sample input for outlen<digest_length" 241 Input = "Sample input for outlen<digest_length"
|
/openssl/providers/implementations/macs/ |
H A D | blake2_mac_impl.c | 87 return macctx->params.digest_length; in blake2_mac_size()
|
Completed in 26 milliseconds