Lines Matching refs:keypair_len
1043 size_t keypair_len; in PHP_FUNCTION() local
1048 keypair_len = crypto_box_SECRETKEYBYTES + crypto_box_PUBLICKEYBYTES; in PHP_FUNCTION()
1049 keypair = zend_string_alloc(keypair_len, 0); in PHP_FUNCTION()
1057 ZSTR_VAL(keypair)[keypair_len] = 0; in PHP_FUNCTION()
1066 size_t keypair_len; in PHP_FUNCTION() local
1080 keypair_len = crypto_box_SECRETKEYBYTES + crypto_box_PUBLICKEYBYTES; in PHP_FUNCTION()
1081 keypair = zend_string_alloc(keypair_len, 0); in PHP_FUNCTION()
1090 ZSTR_VAL(keypair)[keypair_len] = 0; in PHP_FUNCTION()
1100 size_t keypair_len; in PHP_FUNCTION() local
1122 keypair_len = crypto_box_SECRETKEYBYTES + crypto_box_PUBLICKEYBYTES; in PHP_FUNCTION()
1123 keypair = zend_string_alloc(keypair_len, 0); in PHP_FUNCTION()
1127 ZSTR_VAL(keypair)[keypair_len] = 0; in PHP_FUNCTION()
1136 size_t keypair_len; in PHP_FUNCTION() local
1139 &keypair, &keypair_len) == FAILURE) { in PHP_FUNCTION()
1143 if (keypair_len != in PHP_FUNCTION()
1161 size_t keypair_len; in PHP_FUNCTION() local
1164 &keypair, &keypair_len) == FAILURE) { in PHP_FUNCTION()
1168 if (keypair_len != in PHP_FUNCTION()
1219 size_t keypair_len; in PHP_FUNCTION() local
1226 &keypair, &keypair_len) == FAILURE) { in PHP_FUNCTION()
1236 if (keypair_len != crypto_box_SECRETKEYBYTES + crypto_box_PUBLICKEYBYTES) { in PHP_FUNCTION()
1270 size_t keypair_len; in PHP_FUNCTION() local
1276 &keypair, &keypair_len) == FAILURE) { in PHP_FUNCTION()
1286 if (keypair_len != crypto_box_SECRETKEYBYTES + crypto_box_PUBLICKEYBYTES) { in PHP_FUNCTION()
1353 size_t keypair_len; in PHP_FUNCTION() local
1357 &keypair, &keypair_len) == FAILURE) { in PHP_FUNCTION()
1361 if (keypair_len != crypto_box_SECRETKEYBYTES + crypto_box_PUBLICKEYBYTES) { in PHP_FUNCTION()
1387 size_t keypair_len; in PHP_FUNCTION() local
1392 keypair_len = crypto_sign_SECRETKEYBYTES + crypto_sign_PUBLICKEYBYTES; in PHP_FUNCTION()
1393 keypair = zend_string_alloc(keypair_len, 0); in PHP_FUNCTION()
1401 ZSTR_VAL(keypair)[keypair_len] = 0; in PHP_FUNCTION()
1410 size_t keypair_len; in PHP_FUNCTION() local
1424 keypair_len = crypto_sign_SECRETKEYBYTES + crypto_sign_PUBLICKEYBYTES; in PHP_FUNCTION()
1425 keypair = zend_string_alloc(keypair_len, 0); in PHP_FUNCTION()
1434 ZSTR_VAL(keypair)[keypair_len] = 0; in PHP_FUNCTION()
1444 size_t keypair_len; in PHP_FUNCTION() local
1466 keypair_len = crypto_sign_SECRETKEYBYTES + crypto_sign_PUBLICKEYBYTES; in PHP_FUNCTION()
1467 keypair = zend_string_alloc(keypair_len, 0); in PHP_FUNCTION()
1471 ZSTR_VAL(keypair)[keypair_len] = 0; in PHP_FUNCTION()
1510 size_t keypair_len; in PHP_FUNCTION() local
1513 &keypair, &keypair_len) == FAILURE) { in PHP_FUNCTION()
1517 if (keypair_len != in PHP_FUNCTION()
1535 size_t keypair_len; in PHP_FUNCTION() local
1538 &keypair, &keypair_len) == FAILURE) { in PHP_FUNCTION()
1542 if (keypair_len != in PHP_FUNCTION()
2896 size_t keypair_len; in PHP_FUNCTION() local
2899 &keypair, &keypair_len) == FAILURE) { in PHP_FUNCTION()
2903 if (keypair_len != in PHP_FUNCTION()
2921 size_t keypair_len; in PHP_FUNCTION() local
2924 &keypair, &keypair_len) == FAILURE) { in PHP_FUNCTION()
2928 if (keypair_len != in PHP_FUNCTION()
2952 size_t keypair_len; in PHP_FUNCTION() local
2956 &keypair, &keypair_len, in PHP_FUNCTION()
2961 if (keypair_len != crypto_kx_SECRETKEYBYTES + crypto_kx_PUBLICKEYBYTES) { in PHP_FUNCTION()
3002 size_t keypair_len; in PHP_FUNCTION() local
3006 &keypair, &keypair_len, in PHP_FUNCTION()
3011 if (keypair_len != crypto_kx_SECRETKEYBYTES + crypto_kx_PUBLICKEYBYTES) { in PHP_FUNCTION()