Home
last modified time | relevance | path

Searched refs:BLAKE2B_KEYBYTES (Results 1 – 9 of 9) sorted by relevance

/third_party/python/Modules/_blake2/impl/
Dblake2bp-test.c20 uint8_t key[BLAKE2B_KEYBYTES]; in main()
23 for( size_t i = 0; i < BLAKE2B_KEYBYTES; ++i ) in main()
33 if( blake2bp( hash, buf, key, BLAKE2B_OUTBYTES, i, BLAKE2B_KEYBYTES ) < 0 || in main()
Dblake2b-test.c19 uint8_t key[BLAKE2B_KEYBYTES]; in main()
22 for( size_t i = 0; i < BLAKE2B_KEYBYTES; ++i ) in main()
32 if( blake2b( hash, buf, key, BLAKE2B_OUTBYTES, i, BLAKE2B_KEYBYTES ) < 0 || in main()
Dblake2bp.c90 if( !key || !keylen || keylen > BLAKE2B_KEYBYTES ) return -1; in blake2bp_init_key()
211 if( keylen > BLAKE2B_KEYBYTES ) return -1; in blake2bp()
Dblake2b-ref.c204 if ( !key || !keylen || keylen > BLAKE2B_KEYBYTES ) return -1; in blake2b_init_key()
364 if( keylen > BLAKE2B_KEYBYTES ) return -1; in blake2b()
Dblake2b.c250 if ( ( !keylen ) || keylen > BLAKE2B_KEYBYTES ) return -1; in blake2b_init_key()
416 if( keylen > BLAKE2B_KEYBYTES ) return -1; in blake2b()
Dblake2.h65 BLAKE2B_KEYBYTES = 64, enumerator
/third_party/python/Modules/_blake2/
Dblake2module.c92 ADD_INT(d, "MAX_KEY_SIZE", BLAKE2B_KEYBYTES); in blake2_exec()
97 PyModule_AddIntConstant(m, "BLAKE2B_MAX_KEY_SIZE", BLAKE2B_KEYBYTES); in blake2_exec()
Dblake2b_impl.c189 if (key->len > BLAKE2B_KEYBYTES) { in py_blake2b_new_impl()
192 BLAKE2B_KEYBYTES); in py_blake2b_new_impl()
/third_party/openssl/crypto/blake2/
Dblake2_local.h27 #define BLAKE2B_KEYBYTES 64 macro