Lines Matching refs:info
142 struct image_sign_info info; in lib_rsa_verify_valid() local
146 memset(&info, '\0', sizeof(info)); in lib_rsa_verify_valid()
147 info.name = "sha256,rsa2048"; in lib_rsa_verify_valid()
148 info.padding = image_get_padding_algo("pkcs-1.5"); in lib_rsa_verify_valid()
149 info.checksum = image_get_checksum_algo("sha256,rsa2048"); in lib_rsa_verify_valid()
150 info.crypto = image_get_crypto_algo(info.name); in lib_rsa_verify_valid()
152 info.key = public_key; in lib_rsa_verify_valid()
153 info.keylen = public_key_len; in lib_rsa_verify_valid()
157 ret = rsa_verify(&info, ®, 1, data_enc, data_enc_len); in lib_rsa_verify_valid()
175 struct image_sign_info info; in lib_rsa_verify_invalid() local
180 memset(&info, '\0', sizeof(info)); in lib_rsa_verify_invalid()
181 info.name = "sha256,rsa2048"; in lib_rsa_verify_invalid()
182 info.padding = image_get_padding_algo("pkcs-1.5"); in lib_rsa_verify_invalid()
183 info.checksum = image_get_checksum_algo("sha256,rsa2048"); in lib_rsa_verify_invalid()
184 info.crypto = image_get_crypto_algo(info.name); in lib_rsa_verify_invalid()
186 info.key = public_key; in lib_rsa_verify_invalid()
187 info.keylen = public_key_len; in lib_rsa_verify_invalid()
195 ret = rsa_verify(&info, ®, 1, data_enc, data_enc_len); in lib_rsa_verify_invalid()