HomeSort by relevance Sort by last modified time
    Searched refs:BLAKE2B_OUTBYTES (Results 1 - 6 of 6) sorted by null

  /external/python/cpython3/Modules/_blake2/
blake2module.c 77 ADD_INT(d, "MAX_DIGEST_SIZE", BLAKE2B_OUTBYTES);
82 PyModule_AddIntConstant(m, "BLAKE2B_MAX_DIGEST_SIZE", BLAKE2B_OUTBYTES);
blake2b_impl.c 76 digest_size: int(c_default="BLAKE2B_OUTBYTES") = _blake2b.blake2b.MAX_DIGEST_SIZE
114 if (digest_size <= 0 || digest_size > BLAKE2B_OUTBYTES) {
117 BLAKE2B_OUTBYTES);
195 if (inner_size < 0 || inner_size > BLAKE2B_OUTBYTES) {
198 BLAKE2B_OUTBYTES);
327 uint8_t digest[BLAKE2B_OUTBYTES];
348 uint8_t digest[BLAKE2B_OUTBYTES];
  /external/python/cpython3/Modules/_blake2/impl/
blake2b-ref.c 177 if ( ( !outlen ) || ( outlen > BLAKE2B_OUTBYTES ) ) return -1;
198 if ( ( !outlen ) || ( outlen > BLAKE2B_OUTBYTES ) ) return -1;
323 uint8_t buffer[BLAKE2B_OUTBYTES] = {0};
326 if( out == NULL || outlen == 0 || outlen > BLAKE2B_OUTBYTES )
364 if( !outlen || outlen > BLAKE2B_OUTBYTES ) return -1;
385 return blake2b( out, in, NULL, BLAKE2B_OUTBYTES, inlen, 0 );
406 uint8_t hash[BLAKE2B_OUTBYTES];
407 blake2b( hash, buf, key, BLAKE2B_OUTBYTES, i, BLAKE2B_KEYBYTES );
409 if( 0 != memcmp( hash, blake2b_keyed_kat[i], BLAKE2B_OUTBYTES ) )
blake2b.c 196 for( i = 0; i < BLAKE2B_OUTBYTES; ++i ) h[i] = v[i] ^ p[i];
220 if ( ( !outlen ) || ( outlen > BLAKE2B_OUTBYTES ) ) return -1;
242 if ( ( !outlen ) || ( outlen > BLAKE2B_OUTBYTES ) ) return -1;
363 if( outlen > BLAKE2B_OUTBYTES )
397 if( !outlen || outlen > BLAKE2B_OUTBYTES ) return -1;
418 return blake2b( out, in, NULL, BLAKE2B_OUTBYTES, inlen, 0 );
439 uint8_t hash[BLAKE2B_OUTBYTES];
440 blake2b( hash, buf, key, BLAKE2B_OUTBYTES, i, BLAKE2B_KEYBYTES );
442 if( 0 != memcmp( hash, blake2b_keyed_kat[i], BLAKE2B_OUTBYTES ) )
blake2.h 46 BLAKE2B_OUTBYTES = 64,
  /external/python/cpython3/Modules/_blake2/clinic/
blake2b_impl.c.h 28 int digest_size = BLAKE2B_OUTBYTES;

Completed in 59 milliseconds