Lines Matching refs:key_len

293 	size_t         key_len;  in PHP_FUNCTION()  local
298 &key, &key_len) == FAILURE) { in PHP_FUNCTION()
302 if (key_len != crypto_shorthash_KEYBYTES) { in PHP_FUNCTION()
324 size_t key_len; in PHP_FUNCTION() local
331 &key, &key_len) == FAILURE) { in PHP_FUNCTION()
339 if (key_len != crypto_secretbox_KEYBYTES) { in PHP_FUNCTION()
366 size_t key_len; in PHP_FUNCTION() local
373 &key, &key_len) == FAILURE) { in PHP_FUNCTION()
381 if (key_len != crypto_secretbox_KEYBYTES) { in PHP_FUNCTION()
407 size_t key_len = 0; in PHP_FUNCTION() local
412 &key, &key_len, in PHP_FUNCTION()
422 if (key_len != 0 && in PHP_FUNCTION()
423 (key_len < crypto_generichash_KEYBYTES_MIN || in PHP_FUNCTION()
424 key_len > crypto_generichash_KEYBYTES_MAX)) { in PHP_FUNCTION()
431 key, (size_t) key_len) != 0) { in PHP_FUNCTION()
448 size_t key_len = 0; in PHP_FUNCTION() local
451 &key, &key_len, in PHP_FUNCTION()
461 if (key_len != 0 && in PHP_FUNCTION()
462 (key_len < crypto_generichash_KEYBYTES_MIN || in PHP_FUNCTION()
463 key_len > crypto_generichash_KEYBYTES_MAX)) { in PHP_FUNCTION()
468 if (crypto_generichash_init((void *) &state_tmp, key, (size_t) key_len, in PHP_FUNCTION()
1215 size_t key_len; in PHP_FUNCTION() local
1221 &key, &key_len) == FAILURE) { in PHP_FUNCTION()
1233 if (key_len != crypto_stream_KEYBYTES) { in PHP_FUNCTION()
1256 size_t key_len; in PHP_FUNCTION() local
1263 &key, &key_len) == FAILURE) { in PHP_FUNCTION()
1271 if (key_len != crypto_stream_KEYBYTES) { in PHP_FUNCTION()
1295 size_t key_len; in PHP_FUNCTION() local
1301 &key, &key_len) == FAILURE) { in PHP_FUNCTION()
1313 if (key_len != crypto_stream_xchacha20_KEYBYTES) { in PHP_FUNCTION()
1336 size_t key_len; in PHP_FUNCTION() local
1343 &key, &key_len) == FAILURE) { in PHP_FUNCTION()
1351 if (key_len != crypto_stream_xchacha20_KEYBYTES) { in PHP_FUNCTION()
1377 size_t key_len; in PHP_FUNCTION() local
1385 &key, &key_len) == FAILURE) { in PHP_FUNCTION()
1393 if (key_len != crypto_stream_xchacha20_KEYBYTES) { in PHP_FUNCTION()
2891 size_t key_len; in PHP_FUNCTION() local
2895 &key, &key_len) == FAILURE) { in PHP_FUNCTION()
2899 if (key_len != crypto_auth_KEYBYTES) { in PHP_FUNCTION()
2923 size_t key_len; in PHP_FUNCTION() local
2928 &key, &key_len) == FAILURE) { in PHP_FUNCTION()
2932 if (key_len != crypto_auth_KEYBYTES) { in PHP_FUNCTION()
3190 size_t key_len; in PHP_FUNCTION() local
3196 &key, &key_len) == FAILURE) { in PHP_FUNCTION()
3216 if (key_len != crypto_kdf_KEYBYTES) { in PHP_FUNCTION()
3406 size_t key_len; in PHP_FUNCTION() local
3409 &key, &key_len) == FAILURE) { in PHP_FUNCTION()
3413 if (key_len != crypto_secretstream_xchacha20poly1305_KEYBYTES) { in PHP_FUNCTION()
3495 size_t key_len; in PHP_FUNCTION() local
3499 &key, &key_len) == FAILURE) { in PHP_FUNCTION()
3507 if (key_len != crypto_secretstream_xchacha20poly1305_KEYBYTES) { in PHP_FUNCTION()