Searched refs:BLAKE2B_OUTBYTES (Results 1 – 6 of 6) sorted by relevance
/external/python/cpython3/Modules/_blake2/impl/ |
D | blake2b.c | 196 for( i = 0; i < BLAKE2B_OUTBYTES; ++i ) h[i] = v[i] ^ p[i]; in blake2b_init_param() 220 if ( ( !outlen ) || ( outlen > BLAKE2B_OUTBYTES ) ) return -1; in blake2b_init() 242 if ( ( !outlen ) || ( outlen > BLAKE2B_OUTBYTES ) ) return -1; in blake2b_init_key() 363 if( outlen > BLAKE2B_OUTBYTES ) in blake2b_final() 397 if( !outlen || outlen > BLAKE2B_OUTBYTES ) return -1; in blake2b() 418 return blake2b( out, in, NULL, BLAKE2B_OUTBYTES, inlen, 0 ); in crypto_hash() 439 uint8_t hash[BLAKE2B_OUTBYTES]; in main() 440 blake2b( hash, buf, key, BLAKE2B_OUTBYTES, i, BLAKE2B_KEYBYTES ); in main() 442 if( 0 != memcmp( hash, blake2b_keyed_kat[i], BLAKE2B_OUTBYTES ) ) in main()
|
D | blake2b-ref.c | 177 if ( ( !outlen ) || ( outlen > BLAKE2B_OUTBYTES ) ) return -1; in blake2b_init() 198 if ( ( !outlen ) || ( outlen > BLAKE2B_OUTBYTES ) ) return -1; in blake2b_init_key() 323 uint8_t buffer[BLAKE2B_OUTBYTES] = {0}; in blake2b_final() 326 if( out == NULL || outlen == 0 || outlen > BLAKE2B_OUTBYTES ) in blake2b_final() 364 if( !outlen || outlen > BLAKE2B_OUTBYTES ) return -1; in blake2b() 385 return blake2b( out, in, NULL, BLAKE2B_OUTBYTES, inlen, 0 ); in crypto_hash() 406 uint8_t hash[BLAKE2B_OUTBYTES]; in main() 407 blake2b( hash, buf, key, BLAKE2B_OUTBYTES, i, BLAKE2B_KEYBYTES ); in main() 409 if( 0 != memcmp( hash, blake2b_keyed_kat[i], BLAKE2B_OUTBYTES ) ) in main()
|
D | blake2.h | 46 BLAKE2B_OUTBYTES = 64, enumerator
|
/external/python/cpython3/Modules/_blake2/ |
D | blake2b_impl.c | 111 if (digest_size <= 0 || digest_size > BLAKE2B_OUTBYTES) { in py_blake2b_new_impl() 114 BLAKE2B_OUTBYTES); in py_blake2b_new_impl() 194 if (inner_size < 0 || inner_size > BLAKE2B_OUTBYTES) { in py_blake2b_new_impl() 197 BLAKE2B_OUTBYTES); in py_blake2b_new_impl() 321 uint8_t digest[BLAKE2B_OUTBYTES]; in _blake2_blake2b_digest_impl() 342 uint8_t digest[BLAKE2B_OUTBYTES]; in _blake2_blake2b_hexdigest_impl()
|
D | blake2module.c | 77 ADD_INT(d, "MAX_DIGEST_SIZE", BLAKE2B_OUTBYTES); in PyInit__blake2() 82 PyModule_AddIntConstant(m, "BLAKE2B_MAX_DIGEST_SIZE", BLAKE2B_OUTBYTES); in PyInit__blake2()
|
/external/python/cpython3/Modules/_blake2/clinic/ |
D | blake2b_impl.c.h | 27 int digest_size = BLAKE2B_OUTBYTES; in py_blake2b_new()
|