Home
last modified time | relevance | path

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

/optee_os-3.20.0/ta/pkcs11/src/
A Dprocessing_rsa.c25 uint32_t mgf = 0; in pkcs2tee_proc_params_rsa_pss() local
34 rc = serialargs_get_u32(&args, &mgf); in pkcs2tee_proc_params_rsa_pss()
53 ctx->mgf_type = mgf; in pkcs2tee_proc_params_rsa_pss()
123 uint32_t mgf = 0; in pkcs2tee_algo_rsa_pss() local
207 uint32_t mgf = 0; in pkcs2tee_proc_params_rsa_oaep() local
246 ctx->mgf_type = mgf; in pkcs2tee_proc_params_rsa_oaep()
263 uint32_t mgf = 0; in pkcs2tee_proc_params_rsa_aes_wrap() local
308 ctx->mgf_type = mgf; in pkcs2tee_proc_params_rsa_aes_wrap()
329 uint32_t mgf = 0; in pkcs2tee_algo_rsa_oaep() local
366 if (mgf != PKCS11_CKG_MGF1_SHA1) in pkcs2tee_algo_rsa_oaep()
[all …]
/optee_os-3.20.0/core/drivers/crypto/crypto_api/include/
A Ddrvcrypt_acipher.h56 TEE_Result (*mgf)(struct drvcrypt_rsa_mgf *mgf_data); member
73 TEE_Result (*mgf)(struct drvcrypt_rsa_mgf *mgf_data); member
/optee_os-3.20.0/core/drivers/crypto/crypto_api/acipher/
A Drsa.c234 rsa_data.mgf = &drvcrypt_rsa_mgf1; in crypto_acipher_rsaes_decrypt()
325 rsa_data.mgf = &drvcrypt_rsa_mgf1; in crypto_acipher_rsaes_encrypt()
407 rsa_ssa.mgf = &drvcrypt_rsa_mgf1; in crypto_acipher_rsassa_sign()
485 rsa_ssa.mgf = &drvcrypt_rsa_mgf1; in crypto_acipher_rsassa_verify()
A Drsassa.c450 ret = ssa_data->mgf(&mgf_data); in emsa_pss_encode()
593 ret = ssa_data->mgf(&mgf_data); in emsa_pss_verify()
/optee_os-3.20.0/core/drivers/crypto/caam/acipher/
A Dcaam_rsa.c833 ret = rsa_data->mgf(&mgf_data); in do_oaep_decoding()
869 ret = rsa_data->mgf(&mgf_data); in do_oaep_decoding()
1066 ret = rsa_data->mgf(&mgf_data); in do_oaep_encoding()
1111 ret = rsa_data->mgf(&mgf_data); in do_oaep_encoding()
/optee_os-3.20.0/scripts/
A Dsign_encrypt.py730 pad = padding.PSS(mgf=padding.MGF1(self.chosen_hash),

Completed in 11 milliseconds