Searched refs:FE2OS_W (Results 1 – 1 of 1) sorted by relevance
/freebsd/crypto/libecc/src/sig/ |
H A D | bign_common.c | 476 u8 FE2OS_W[LOCAL_MAX(2 * BYTECEIL(CURVES_MAX_P_BIT_LEN), 2 * BIGN_S0_LEN(CURVES_MAX_Q_BIT_LEN))]; in __bign_sign_finalize() local 631 ret = local_memset(FE2OS_W, 0, sizeof(FE2OS_W)); EG(ret, err); in __bign_sign_finalize() 632 ret = fp_export_to_buf(&FE2OS_W[0], p_len, &(kG.X)); EG(ret, err); in __bign_sign_finalize() 633 ret = _reverse_endianness(&FE2OS_W[0], p_len); EG(ret, err); in __bign_sign_finalize() 634 ret = fp_export_to_buf(&FE2OS_W[p_len], p_len, &(kG.Y)); EG(ret, err); in __bign_sign_finalize() 635 ret = _reverse_endianness(&FE2OS_W[p_len], p_len); EG(ret, err); in __bign_sign_finalize() 637 ret = belt_hash_update(&belt_hash_ctx, &FE2OS_W[0], (u32)(2*l)); EG(ret, err); in __bign_sign_finalize() 654 ret = local_memcpy(FE2OS_W, &sig[0], l); EG(ret, err); in __bign_sign_finalize() 655 ret = _reverse_endianness(FE2OS_W, l); EG(ret, err); in __bign_sign_finalize() 656 ret = nn_init_from_buf(&s1, FE2OS_W, l); EG(ret, err); in __bign_sign_finalize() [all …]
|