Lines Matching refs:key_len

508 	size_t         key_len;  in PHP_FUNCTION()  local
513 &key, &key_len) == FAILURE) { in PHP_FUNCTION()
517 if (key_len != crypto_shorthash_KEYBYTES) { in PHP_FUNCTION()
539 size_t key_len; in PHP_FUNCTION() local
546 &key, &key_len) == FAILURE) { in PHP_FUNCTION()
554 if (key_len != crypto_secretbox_KEYBYTES) { in PHP_FUNCTION()
581 size_t key_len; in PHP_FUNCTION() local
588 &key, &key_len) == FAILURE) { in PHP_FUNCTION()
596 if (key_len != crypto_secretbox_KEYBYTES) { in PHP_FUNCTION()
622 size_t key_len = 0; in PHP_FUNCTION() local
627 &key, &key_len, in PHP_FUNCTION()
637 if (key_len != 0 && in PHP_FUNCTION()
638 (key_len < crypto_generichash_KEYBYTES_MIN || in PHP_FUNCTION()
639 key_len > crypto_generichash_KEYBYTES_MAX)) { in PHP_FUNCTION()
646 key, (size_t) key_len) != 0) { in PHP_FUNCTION()
663 size_t key_len = 0; in PHP_FUNCTION() local
666 &key, &key_len, in PHP_FUNCTION()
676 if (key_len != 0 && in PHP_FUNCTION()
677 (key_len < crypto_generichash_KEYBYTES_MIN || in PHP_FUNCTION()
678 key_len > crypto_generichash_KEYBYTES_MAX)) { in PHP_FUNCTION()
683 if (crypto_generichash_init((void *) &state_tmp, key, (size_t) key_len, in PHP_FUNCTION()
1429 size_t key_len; in PHP_FUNCTION() local
1435 &key, &key_len) == FAILURE) { in PHP_FUNCTION()
1447 if (key_len != crypto_stream_KEYBYTES) { in PHP_FUNCTION()
1470 size_t key_len; in PHP_FUNCTION() local
1477 &key, &key_len) == FAILURE) { in PHP_FUNCTION()
1485 if (key_len != crypto_stream_KEYBYTES) { in PHP_FUNCTION()
1509 size_t key_len; in PHP_FUNCTION() local
1515 &key, &key_len) == FAILURE) { in PHP_FUNCTION()
1527 if (key_len != crypto_stream_xchacha20_KEYBYTES) { in PHP_FUNCTION()
1550 size_t key_len; in PHP_FUNCTION() local
1557 &key, &key_len) == FAILURE) { in PHP_FUNCTION()
1565 if (key_len != crypto_stream_xchacha20_KEYBYTES) { in PHP_FUNCTION()
2830 size_t key_len; in PHP_FUNCTION() local
2834 &key, &key_len) == FAILURE) { in PHP_FUNCTION()
2838 if (key_len != crypto_auth_KEYBYTES) { in PHP_FUNCTION()
2861 size_t key_len; in PHP_FUNCTION() local
2866 &key, &key_len) == FAILURE) { in PHP_FUNCTION()
2870 if (key_len != crypto_auth_KEYBYTES) { in PHP_FUNCTION()
3100 size_t key_len; in PHP_FUNCTION() local
3106 &key, &key_len) == FAILURE) { in PHP_FUNCTION()
3126 if (key_len != crypto_kdf_KEYBYTES) { in PHP_FUNCTION()
3315 size_t key_len; in PHP_FUNCTION() local
3318 &key, &key_len) == FAILURE) { in PHP_FUNCTION()
3322 if (key_len != crypto_secretstream_xchacha20poly1305_KEYBYTES) { in PHP_FUNCTION()
3404 size_t key_len; in PHP_FUNCTION() local
3408 &key, &key_len) == FAILURE) { in PHP_FUNCTION()
3416 if (key_len != crypto_secretstream_xchacha20poly1305_KEYBYTES) { in PHP_FUNCTION()