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

  /external/python/cpython3/Modules/_blake2/
blake2module.c 97 ADD_INT(d, "MAX_DIGEST_SIZE", BLAKE2S_OUTBYTES);
102 PyModule_AddIntConstant(m, "BLAKE2S_MAX_DIGEST_SIZE", BLAKE2S_OUTBYTES);
blake2s_impl.c 76 digest_size: int(c_default="BLAKE2S_OUTBYTES") = _blake2s.blake2s.MAX_DIGEST_SIZE
114 if (digest_size <= 0 || digest_size > BLAKE2S_OUTBYTES) {
117 BLAKE2S_OUTBYTES);
195 if (inner_size < 0 || inner_size > BLAKE2S_OUTBYTES) {
198 BLAKE2S_OUTBYTES);
327 uint8_t digest[BLAKE2S_OUTBYTES];
348 uint8_t digest[BLAKE2S_OUTBYTES];
  /external/python/cpython3/Modules/_blake2/impl/
blake2s.c 183 for( i = 0; i < BLAKE2S_OUTBYTES; ++i ) h[i] = v[i] ^ p[i];
206 if ( ( !outlen ) || ( outlen > BLAKE2S_OUTBYTES ) ) return -1;
228 if ( ( !outlen ) || ( outlen > BLAKE2S_OUTBYTES ) ) return -1;
337 uint8_t buffer[BLAKE2S_OUTBYTES] = {0};
340 if( outlen > BLAKE2S_OUTBYTES )
378 if( !outlen || outlen > BLAKE2S_OUTBYTES ) return -1;
399 return blake2s( out, in, NULL, BLAKE2S_OUTBYTES, inlen, 0 );
420 uint8_t hash[BLAKE2S_OUTBYTES];
422 if( blake2s( hash, buf, key, BLAKE2S_OUTBYTES, i, BLAKE2S_KEYBYTES ) < 0 ||
423 0 != memcmp( hash, blake2s_keyed_kat[i], BLAKE2S_OUTBYTES ) )
    [all...]
blake2s-ref.c 171 if ( ( !outlen ) || ( outlen > BLAKE2S_OUTBYTES ) ) return -1;
191 if ( ( !outlen ) || ( outlen > BLAKE2S_OUTBYTES ) ) return -1;
313 uint8_t buffer[BLAKE2S_OUTBYTES] = {0};
316 if( out == NULL || outlen == 0 || outlen > BLAKE2S_OUTBYTES )
354 if( !outlen || outlen > BLAKE2S_OUTBYTES ) return -1;
375 return blake2s( out, in, NULL, BLAKE2S_OUTBYTES, inlen, 0 );
396 uint8_t hash[BLAKE2S_OUTBYTES];
397 blake2s( hash, buf, key, BLAKE2S_OUTBYTES, i, BLAKE2S_KEYBYTES );
399 if( 0 != memcmp( hash, blake2s_keyed_kat[i], BLAKE2S_OUTBYTES ) )
blake2.h 37 BLAKE2S_OUTBYTES = 32,
  /external/python/cpython3/Modules/_blake2/clinic/
blake2s_impl.c.h 28 int digest_size = BLAKE2S_OUTBYTES;

Completed in 57 milliseconds