WordPress at a glance
function is not described

ParagonIE_Sodium_Core_Curve25519::fe_add() public WP 1.0

Add two field elements.

{} It's a method of the class: ParagonIE_Sodium_Core_Curve25519{}

No Hooks.

Return

ParagonIE_Sodium_Core_Curve25519_Fe. Null. Nothing.

Usage

$result = ParagonIE_Sodium_Core_Curve25519::fe_add(;

Code of ParagonIE_Sodium_Core_Curve25519::fe_add() WP 5.7

<?php
public static function fe_add(
    ParagonIE_Sodium_Core_Curve25519_Fe $f,
    ParagonIE_Sodium_Core_Curve25519_Fe $g
) {
    /** @var array<int, int> $arr */
    $arr = array();
    for ($i = 0; $i < 10; ++$i) {
        $arr[$i] = (int) ($f[$i] + $g[$i]);
    }
    return ParagonIE_Sodium_Core_Curve25519_Fe::fromArray($arr);
}