Home
last modified time | relevance | path

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

/external/u-boot/tools/
Dkwbimage.c605 EVP_PKEY *evp_key; in kwb_sign() local
611 evp_key = EVP_PKEY_new(); in kwb_sign()
612 if (!evp_key) in kwb_sign()
615 if (!EVP_PKEY_set1_RSA(evp_key, key)) { in kwb_sign()
620 size = EVP_PKEY_size(evp_key); in kwb_sign()
644 if (!EVP_SignFinal(ctx, sig->sig, &sig_size, evp_key)) { in kwb_sign()
651 EVP_PKEY_free(evp_key); in kwb_sign()
658 EVP_PKEY_free(evp_key); in kwb_sign()
666 EVP_PKEY *evp_key; in kwb_verify() local
671 evp_key = EVP_PKEY_new(); in kwb_verify()
[all …]