Searched refs:dsa_ctx (Results 1 – 2 of 2) sorted by relevance
/openbsd/sbin/iked/ |
H A D | crypto.c | 730 if ((dsap->dsa_ctx = HMAC_CTX_new()) == NULL) { in dsa_new() 736 if ((dsap->dsa_ctx = EVP_MD_CTX_create()) == NULL) { in dsa_new() 764 HMAC_CTX_free((HMAC_CTX *)dsa->dsa_ctx); in dsa_free() 766 EVP_MD_CTX_free((EVP_MD_CTX *)dsa->dsa_ctx); in dsa_free() 962 ret = HMAC_Update(dsa->dsa_ctx, buf, len); in dsa_update() 964 ret = EVP_DigestSignUpdate(dsa->dsa_ctx, buf, len); in dsa_update() 966 ret = EVP_DigestVerifyUpdate(dsa->dsa_ctx, buf, len); in dsa_update() 1057 if (EVP_DigestSignFinal(dsa->dsa_ctx, tmp, &tmplen) != 1) in _dsa_sign_ecdsa() 1089 if (!HMAC_Final(dsa->dsa_ctx, buf, &hmaclen)) in dsa_sign_final() 1109 if (EVP_DigestSignFinal(dsa->dsa_ctx, ptr, &len) != 1) in dsa_sign_final() [all …]
|
H A D | iked.h | 340 void *dsa_ctx; /* PRF or signature hash ctx */ member
|