Home
last modified time | relevance | path

Searched refs:e_buf (Results 1 – 5 of 5) sorted by relevance

/freebsd/crypto/openssl/crypto/des/
H A Dfcrypt.c72 char e_buf[32 + 1]; /* replace 32 by 8 ? */ in DES_crypt() local
85 OPENSSL_strlcpy(e_buf, buf, sizeof(e_buf)); in DES_crypt()
86 ebcdic2ascii(e_buf, e_buf, sizeof(e_buf)); in DES_crypt()
89 ret = DES_fcrypt(e_buf, e_salt, buff); in DES_crypt()
/freebsd/crypto/libecc/src/sig/
H A Dfuzzing_ecgdsa.c45 u8 e_buf[LOCAL_MIN(255, BIT_LEN_WORDS(NN_MAX_BIT_LEN) * (WORDSIZE / 8))]; in ecgdsa_sign_raw() local
101 MUST_HAVE(((u32)inputlen <= sizeof(e_buf)), ret, err); in ecgdsa_sign_raw()
103 ret = local_memset(e_buf, 0, sizeof(e_buf)); EG(ret, err); in ecgdsa_sign_raw()
104 ret = local_memcpy(e_buf, input, hsize); EG(ret, err); in ecgdsa_sign_raw()
105 dbg_buf_print("H(m)", e_buf, hsize); in ecgdsa_sign_raw()
116 ret = nn_init_from_buf(&tmp, e_buf, hsize); EG(ret, err); in ecgdsa_sign_raw()
117 ret = local_memset(e_buf, 0, hsize); EG(ret, err); in ecgdsa_sign_raw()
262 u8 e_buf[LOCAL_MIN(255, BIT_LEN_WORDS(NN_MAX_BIT_LEN) * (WORDSIZE / 8))]; in ecgdsa_verify_raw() local
304 MUST_HAVE(((u32)inputlen <= sizeof(e_buf)), ret, err); in ecgdsa_verify_raw()
307 ret = local_memset(e_buf, 0, sizeof(e_buf)); EG(ret, err); in ecgdsa_verify_raw()
[all …]
H A Decgdsa.c184 u8 e_buf[MAX_DIGEST_SIZE]; in _ecgdsa_sign_finalize() local
242 ret = local_memset(e_buf, 0, hsize); EG(ret, err); in _ecgdsa_sign_finalize()
245 ret = ctx->h->hfunc_finalize(&(ctx->sign_data.ecgdsa.h_ctx), e_buf); EG(ret, err); in _ecgdsa_sign_finalize()
246 dbg_buf_print("H(m)", e_buf, hsize); in _ecgdsa_sign_finalize()
257 ret = nn_init_from_buf(&tmp, e_buf, hsize); EG(ret, err); in _ecgdsa_sign_finalize()
258 ret = local_memset(e_buf, 0, hsize); EG(ret, err); in _ecgdsa_sign_finalize()
506 u8 e_buf[MAX_DIGEST_SIZE]; in _ecgdsa_verify_finalize() local
543 ret = ctx->h->hfunc_finalize(&(ctx->verify_data.ecgdsa.h_ctx), e_buf); EG(ret, err); in _ecgdsa_verify_finalize()
544 dbg_buf_print("H(m)", e_buf, hsize); in _ecgdsa_verify_finalize()
555 ret = nn_init_from_buf(&e, e_buf, hsize); EG(ret, err); in _ecgdsa_verify_finalize()
[all …]
H A Decfsdsa.c259 u8 e_buf[MAX_DIGEST_SIZE]; in _ecfsdsa_sign_finalize() local
313 ret = ctx->h->hfunc_finalize(&(ctx->sign_data.ecfsdsa.h_ctx), e_buf); EG(ret, err); in _ecfsdsa_sign_finalize()
314 dbg_buf_print("h(R||m)", e_buf, hsize); in _ecfsdsa_sign_finalize()
317 ret = nn_init_from_buf(&e, e_buf, hsize); EG(ret, err); in _ecfsdsa_sign_finalize()
318 ret = local_memset(e_buf, 0, hsize); EG(ret, err); in _ecfsdsa_sign_finalize()
545 u8 e_buf[MAX_DIGEST_SIZE]; in _ecfsdsa_verify_finalize() local
582 ret = ctx->h->hfunc_finalize(&(ctx->verify_data.ecfsdsa.h_ctx), e_buf); EG(ret, err); in _ecfsdsa_verify_finalize()
590 ret = nn_init_from_buf(&tmp, e_buf, hsize); EG(ret, err); in _ecfsdsa_verify_finalize()
591 ret = local_memset(e_buf, 0, hsize); EG(ret, err); in _ecfsdsa_verify_finalize()
H A Dbip0340.c504 u8 e_buf[MAX_DIGEST_SIZE]; in _bip0340_verify_finalize() local
533 &e_buf[0]); EG(ret, err); in _bip0340_verify_finalize()
534 ret = nn_init_from_buf(&e, e_buf, hsize); EG(ret, err); in _bip0340_verify_finalize()