Lines Matching refs:context
420 EVP_MD_CTX *context; in rsa_sign_with_key() local
444 context = EVP_MD_CTX_create(); in rsa_sign_with_key()
445 if (!context) { in rsa_sign_with_key()
449 EVP_MD_CTX_init(context); in rsa_sign_with_key()
457 if (EVP_DigestSignInit(context, &ckey, in rsa_sign_with_key()
475 if (!EVP_DigestSignUpdate(context, region[i].data, in rsa_sign_with_key()
482 if (!EVP_DigestSignFinal(context, sig, &size)) { in rsa_sign_with_key()
489 EVP_MD_CTX_cleanup(context); in rsa_sign_with_key()
491 EVP_MD_CTX_reset(context); in rsa_sign_with_key()
493 EVP_MD_CTX_destroy(context); in rsa_sign_with_key()
505 EVP_MD_CTX_destroy(context); in rsa_sign_with_key()