Searched refs:EDDSA_R_LEN (Results 1 – 2 of 2) sorted by relevance
/freebsd/crypto/libecc/include/libecc/sig/ |
H A D | eddsa.h | 53 #define EDDSA_R_LEN(hsize) (hsize / 2) macro 55 #define EDDSA_SIGLEN(hsize) (EDDSA_R_LEN(hsize) + EDDSA_S_LEN(hsize))
|
/freebsd/crypto/libecc/src/sig/ |
H A D | eddsa.c | 1286 r_len = EDDSA_R_LEN(hsize); 1634 r_len = EDDSA_R_LEN(hsize); 1977 MUST_HAVE((siglen == (EDDSA_R_LEN(hsize) + EDDSA_S_LEN(hsize))), ret, err); 2009 EDDSA_R_LEN(hsize), key_type); EG(ret, err); 2014 ret = ctx->h->hfunc_update(h_ctx, &sig[0], EDDSA_R_LEN(hsize)); EG(ret, err); 2018 ret = eddsa_decode_integer(S, &sig[EDDSA_R_LEN(hsize)], EDDSA_S_LEN(hsize)); EG(ret, err); 2043 MUST_HAVE((EDDSA_R_LEN(hsize) <= sizeof(buff)), ret, err); 2045 ret = eddsa_encode_point(&A, alpha_edwards, buff, EDDSA_R_LEN(hsize), key_type); EG(ret, err); 2048 ret = ctx->h->hfunc_update(h_ctx, buff, EDDSA_R_LEN(hsize)); EG(ret, err); 2404 MUST_HAVE((siglen == (EDDSA_R_LEN(hsize) + EDDSA_S_LEN(hsize))), ret, err); [all …]
|