Searched refs:LOCAL_MAX (Results 1 – 7 of 7) sorted by relevance
/freebsd/crypto/libecc/include/libecc/sig/ |
H A D | ec_key.h | 73 #define EC_PRIV_KEY_MAX_SIZE (LOCAL_MAX(MAX_DIGEST_SIZE, LOCAL_MAX(BYTECEIL(CURVES_MAX_Q_BIT_LEN), … 76 …((u8)(LOCAL_MAX(MAX_DIGEST_SIZE, LOCAL_MAX(BYTECEIL((priv_key)->params->ec_gen_order_bitlen), BYTE… 80 #define EC_PRIV_KEY_MAX_SIZE (LOCAL_MAX(BYTECEIL(CURVES_MAX_Q_BIT_LEN), BYTECEIL(CURVES_MAX_P_BIT_L… 83 …((u8)(LOCAL_MAX(BYTECEIL((priv_key)->params->ec_gen_order_bitlen), BYTECEIL((priv_key)->params->ec…
|
H A D | eddsa.h | 37 #define EDDSA_MAX_PUB_KEY_ENCODED_LEN LOCAL_MAX(EDDSA25519_PUB_KEY_ENCODED_LEN, EDDSA448_PUB_KEY_EN…
|
/freebsd/crypto/libecc/include/libecc/utils/ |
H A D | utils.h | 164 #define LOCAL_MAX(x, y) (((x) > (y)) ? (x) : (y)) macro
|
/freebsd/crypto/libecc/src/nn/ |
H A D | nn_add.c | 73 loop_wlen = LOCAL_MAX(in1->wlen, in2->wlen); in _nn_cnd_add() 261 loop_wlen = LOCAL_MAX(in1->wlen, in2->wlen); in nn_cnd_sub()
|
/freebsd/crypto/libecc/src/sig/ |
H A D | bign_common.c | 206 u8 FE2OS_D[LOCAL_MAX(BYTECEIL(CURVES_MAX_Q_BIT_LEN), 2 * BELT_HASH_DIGEST_SIZE)]; in __bign_determinitic_nonce() 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() 851 u8 FE2OS_W[LOCAL_MAX(2 * BYTECEIL(CURVES_MAX_P_BIT_LEN), 2 * BIGN_S0_LEN(CURVES_MAX_Q_BIT_LEN))]; in __bign_verify_finalize()
|
H A D | eckcdsa.c | 204 u8 tmp_buf[LOCAL_MAX(2 * BYTECEIL(CURVES_MAX_P_BIT_LEN), MAX_BLOCK_SIZE)]; in _eckcdsa_sign_init() 549 u8 tmp_buf[LOCAL_MAX(2 * BYTECEIL(CURVES_MAX_P_BIT_LEN), MAX_BLOCK_SIZE)]; in _eckcdsa_verify_init()
|
/freebsd/crypto/libecc/src/tests/ |
H A D | ec_self_tests_core.c | 301 MUST_HAVE(siglen <= LOCAL_MAX(sizeof(sig_tmp1), sizeof(sig_tmp2)), ret, err); in ec_import_export_test()
|