Lines Matching refs:data_len

6705 	size_t data_len;  in PHP_FUNCTION()  local
6708 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "szz|l", &data, &data_len, &crypted, &key, &padding) ==… in PHP_FUNCTION()
6724 EVP_PKEY_sign(ctx, NULL, &out_len, (unsigned char *) data, data_len) <= 0) { in PHP_FUNCTION()
6732 (unsigned char *) data, data_len) <= 0) { in PHP_FUNCTION()
6755 size_t data_len; in PHP_FUNCTION() local
6757 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "szz|l", &data, &data_len, &crypted, &key, &padding) ==… in PHP_FUNCTION()
6773 EVP_PKEY_decrypt(ctx, NULL, &out_len, (unsigned char *) data, data_len) <= 0) { in PHP_FUNCTION()
6781 (unsigned char *) data, data_len) <= 0) { in PHP_FUNCTION()
6805 size_t data_len; in PHP_FUNCTION() local
6807 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "szz|l", &data, &data_len, &crypted, &key, &padding) ==… in PHP_FUNCTION()
6823 EVP_PKEY_encrypt(ctx, NULL, &out_len, (unsigned char *) data, data_len) <= 0) { in PHP_FUNCTION()
6831 (unsigned char *) data, data_len) <= 0) { in PHP_FUNCTION()
6854 size_t data_len; in PHP_FUNCTION() local
6856 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "szz|l", &data, &data_len, &crypted, &key, &padding) ==… in PHP_FUNCTION()
6872 EVP_PKEY_verify_recover(ctx, NULL, &out_len, (unsigned char *) data, data_len) <= 0) { in PHP_FUNCTION()
6880 (unsigned char *) data, data_len) <= 0) { in PHP_FUNCTION()
6934 size_t data_len; in PHP_FUNCTION() local
6941 Z_PARAM_STRING(data, data_len) in PHP_FUNCTION()
6972 EVP_SignUpdate(md_ctx, data, data_len) && in PHP_FUNCTION()
6997 size_t data_len; in PHP_FUNCTION() local
7004 Z_PARAM_STRING(data, data_len) in PHP_FUNCTION()
7034 !EVP_VerifyUpdate (md_ctx, data, data_len) || in PHP_FUNCTION()
7053 size_t data_len; in PHP_FUNCTION() local
7059 if (zend_parse_parameters(ZEND_NUM_ARGS(), "szzas|z", &data, &data_len, in PHP_FUNCTION()
7064 PHP_OPENSSL_CHECK_SIZE_T_TO_INT(data_len, data, 1); in PHP_FUNCTION()
7115 buf = emalloc(data_len + EVP_CIPHER_CTX_block_size(ctx)); in PHP_FUNCTION()
7119 !EVP_SealUpdate(ctx, buf, &len1, (unsigned char *)data, (int)data_len) || in PHP_FUNCTION()
7179 size_t data_len; in PHP_FUNCTION() local
7186 if (zend_parse_parameters(ZEND_NUM_ARGS(), "szszs|s!", &data, &data_len, &opendata, in PHP_FUNCTION()
7191 PHP_OPENSSL_CHECK_SIZE_T_TO_INT(data_len, data, 1); in PHP_FUNCTION()
7223 buf = emalloc(data_len + 1); in PHP_FUNCTION()
7227 EVP_OpenUpdate(ctx, buf, &len1, (unsigned char *)data, (int)data_len) && in PHP_FUNCTION()
7354 size_t data_len, method_len; in PHP_FUNCTION() local
7360 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "ss|b", &data, &data_len, &method, &method_len, &raw_ou… in PHP_FUNCTION()
7374 EVP_DigestUpdate(md_ctx, (unsigned char *)data, data_len) && in PHP_FUNCTION()
7597 zend_string **poutbuf, int *poutlen, const char *data, size_t data_len, in php_openssl_cipher_update() argument
7602 if (mode->is_single_run_aead && !EVP_CipherUpdate(cipher_ctx, NULL, &i, NULL, (int)data_len)) { in php_openssl_cipher_update()
7614 *poutbuf = zend_string_alloc((int)data_len + EVP_CIPHER_block_size(cipher_type), 0); in php_openssl_cipher_update()
7617 &i, (const unsigned char *)data, (int)data_len)) { in php_openssl_cipher_update()
7638 const char *data, size_t data_len, in php_openssl_encrypt() argument
7653 PHP_OPENSSL_CHECK_SIZE_T_TO_INT_NULL_RETURN(data_len, data); in php_openssl_encrypt()
7677 data, data_len, aad, aad_len, 1) == FAILURE) { in php_openssl_encrypt()
7733 size_t data_len, method_len, password_len, iv_len = 0, aad_len = 0; in PHP_FUNCTION() local
7737 if (zend_parse_parameters(ZEND_NUM_ARGS(), "sss|lszsl", &data, &data_len, &method, &method_len, in PHP_FUNCTION()
7742 …if ((ret = php_openssl_encrypt(data, data_len, method, method_len, password, password_len, options… in PHP_FUNCTION()
7751 const char *data, size_t data_len, in php_openssl_decrypt() argument
7767 PHP_OPENSSL_CHECK_SIZE_T_TO_INT_NULL_RETURN(data_len, data); in php_openssl_decrypt()
7788 base64_str = php_base64_decode((unsigned char*)data, data_len); in php_openssl_decrypt()
7794 data_len = ZSTR_LEN(base64_str); in php_openssl_decrypt()
7802 data, data_len, aad, aad_len, 0) == FAILURE) { in php_openssl_decrypt()
7834 size_t data_len, method_len, password_len, iv_len = 0, tag_len = 0, aad_len = 0; in PHP_FUNCTION() local
7837 if (zend_parse_parameters(ZEND_NUM_ARGS(), "sss|lss!s", &data, &data_len, &method, &method_len, in PHP_FUNCTION()
7847 …if ((ret = php_openssl_decrypt(data, data_len, method, method_len, password, password_len, options… in PHP_FUNCTION()