Searched refs:BLAKE2B_OUTBYTES (Results 1 – 10 of 10) sorted by relevance
/external/python/cpython3/Modules/_blake2/impl/ |
D | blake2-kat.h | 3110 static const uint8_t blake2b_kat[KAT_LENGTH][BLAKE2B_OUTBYTES] = 5677 static const uint8_t blake2b_keyed_kat[KAT_LENGTH][BLAKE2B_OUTBYTES] = 11330 static const uint8_t blake2bp_kat[KAT_LENGTH][BLAKE2B_OUTBYTES] = 13897 static const uint8_t blake2bp_keyed_kat[KAT_LENGTH][BLAKE2B_OUTBYTES] =
|
D | blake2bp.c | 38 P->inner_length = BLAKE2B_OUTBYTES; in blake2bp_init_leaf() 57 P->inner_length = BLAKE2B_OUTBYTES; in blake2bp_init_root() 69 if( !outlen || outlen > BLAKE2B_OUTBYTES ) return -1; in blake2bp_init() 88 if( !outlen || outlen > BLAKE2B_OUTBYTES ) return -1; in blake2bp_init_key() 172 uint8_t hash[PARALLELISM_DEGREE][BLAKE2B_OUTBYTES]; in blake2bp_final() 187 blake2b_final( S->S[i], hash[i], BLAKE2B_OUTBYTES ); in blake2bp_final() 191 blake2b_update( S->R, hash[i], BLAKE2B_OUTBYTES ); in blake2bp_final() 198 uint8_t hash[PARALLELISM_DEGREE][BLAKE2B_OUTBYTES]; in blake2bp() 209 if( !outlen || outlen > BLAKE2B_OUTBYTES ) return -1; in blake2bp() 259 blake2b_final( S[id__], hash[id__], BLAKE2B_OUTBYTES ); in blake2bp() [all …]
|
D | blake2b-test.c | 30 uint8_t hash[BLAKE2B_OUTBYTES]; in main() 32 if( blake2b( hash, buf, key, BLAKE2B_OUTBYTES, i, BLAKE2B_KEYBYTES ) < 0 || in main() 33 0 != memcmp( hash, blake2b_keyed_kat[i], BLAKE2B_OUTBYTES ) ) in main()
|
D | blake2bp-test.c | 31 uint8_t hash[BLAKE2B_OUTBYTES]; in main() 33 if( blake2bp( hash, buf, key, BLAKE2B_OUTBYTES, i, BLAKE2B_KEYBYTES ) < 0 || in main() 34 0 != memcmp( hash, blake2bp_keyed_kat[i], BLAKE2B_OUTBYTES ) ) in main()
|
D | blake2b.c | 216 for( int i = 0; i < BLAKE2B_OUTBYTES; ++i ) h[i] = v[i] ^ p[i]; in blake2b_init_param() 227 if ( ( !outlen ) || ( outlen > BLAKE2B_OUTBYTES ) ) return -1; in blake2b_init() 248 if ( ( !outlen ) || ( outlen > BLAKE2B_OUTBYTES ) ) return -1; in blake2b_init_key() 414 if( !outlen || outlen > BLAKE2B_OUTBYTES ) return -1; in blake2b() 434 return blake2b( out, in, NULL, BLAKE2B_OUTBYTES, inlen, 0 ); in crypto_hash()
|
D | blake2b-ref.c | 181 if ( ( !outlen ) || ( outlen > BLAKE2B_OUTBYTES ) ) return -1; in blake2b_init() 202 if ( ( !outlen ) || ( outlen > BLAKE2B_OUTBYTES ) ) return -1; in blake2b_init_key() 326 uint8_t buffer[BLAKE2B_OUTBYTES]; in blake2b_final() 362 if( !outlen || outlen > BLAKE2B_OUTBYTES ) return -1; in blake2b()
|
D | blake2.h | 64 BLAKE2B_OUTBYTES = 64, enumerator
|
/external/python/cpython3/Modules/_blake2/ |
D | blake2b_impl.c | 108 if (digest_size <= 0 || digest_size > BLAKE2B_OUTBYTES) { in py_blake2b_new_impl() 111 BLAKE2B_OUTBYTES); in py_blake2b_new_impl() 179 if (inner_size < 0 || inner_size > BLAKE2B_OUTBYTES) { in py_blake2b_new_impl() 182 BLAKE2B_OUTBYTES); in py_blake2b_new_impl() 306 uint8_t digest[BLAKE2B_OUTBYTES]; in _blake2_blake2b_digest_impl() 327 uint8_t digest[BLAKE2B_OUTBYTES]; in _blake2_blake2b_hexdigest_impl()
|
D | blake2module.c | 74 ADD_INT(d, "MAX_DIGEST_SIZE", BLAKE2B_OUTBYTES); in PyInit__blake2() 79 PyModule_AddIntConstant(m, "BLAKE2B_MAX_DIGEST_SIZE", BLAKE2B_OUTBYTES); in PyInit__blake2()
|
/external/python/cpython3/Modules/_blake2/clinic/ |
D | blake2b_impl.c.h | 32 int digest_size = BLAKE2B_OUTBYTES; in py_blake2b_new()
|