Searched refs:BIGN_S1_LEN (Results 1 – 2 of 2) sorted by relevance
/freebsd/crypto/libecc/include/libecc/sig/ |
H A D | bign_common.h | 35 #define BIGN_S1_LEN(q_bit_len) (BYTECEIL(q_bit_len)) macro 37 BIGN_S1_LEN(q_bit_len))
|
/freebsd/crypto/libecc/src/sig/ |
H A D | bign_common.c | 689 ret = nn_export_to_buf(&sig[l], (u16)BIGN_S1_LEN(q_bit_len), &s1); EG(ret, err); in __bign_sign_finalize() 690 ret = _reverse_endianness(&sig[l], (u16)BIGN_S1_LEN(q_bit_len)); in __bign_sign_finalize() 790 ret = local_memcpy(&TMP[0], &sig[l], (u32)BIGN_S1_LEN(q_bit_len)); EG(ret, err); in __bign_verify_init() 791 ret = _reverse_endianness(&TMP[0], (u16)BIGN_S1_LEN(q_bit_len)); EG(ret, err); in __bign_verify_init() 792 ret = nn_init_from_buf(s1, &TMP[0], (u8)BIGN_S1_LEN(q_bit_len)); EG(ret, err); in __bign_verify_init()
|