Searched refs:mgf_data (Results 1 – 5 of 5) sorted by relevance
22 uint8_t *cur_mask = mgf_data->mask.data; in drvcrypt_rsa_mgf1()26 mgf_data->mask.length, mgf_data->seed.length); in drvcrypt_rsa_mgf1()29 lastBlock_size = mgf_data->mask.length % mgf_data->digest_size; in drvcrypt_rsa_mgf1()32 tmpdigest = malloc(mgf_data->digest_size); in drvcrypt_rsa_mgf1()42 nbBlock = (mgf_data->mask.length - lastBlock_size) / in drvcrypt_rsa_mgf1()43 mgf_data->digest_size; in drvcrypt_rsa_mgf1()49 counter++, cur_mask += mgf_data->digest_size) { in drvcrypt_rsa_mgf1()56 ret = crypto_hash_update(ctx, mgf_data->seed.data, in drvcrypt_rsa_mgf1()57 mgf_data->seed.length); in drvcrypt_rsa_mgf1()80 ret = crypto_hash_update(ctx, mgf_data->seed.data, in drvcrypt_rsa_mgf1()[all …]
321 struct drvcrypt_rsa_mgf mgf_data = { }; in emsa_pss_encode() local446 mgf_data.seed.data = hash.data; in emsa_pss_encode()447 mgf_data.seed.length = hash.length; in emsa_pss_encode()448 mgf_data.mask.data = dbMask.data; in emsa_pss_encode()449 mgf_data.mask.length = dbMask.length; in emsa_pss_encode()450 ret = ssa_data->mgf(&mgf_data); in emsa_pss_encode()589 mgf_data.seed.data = hash.data; in emsa_pss_verify()590 mgf_data.seed.length = hash.length; in emsa_pss_verify()591 mgf_data.mask.data = msg_db; in emsa_pss_verify()592 mgf_data.mask.length = db_size; in emsa_pss_verify()[all …]
18 TEE_Result drvcrypt_rsa_mgf1(struct drvcrypt_rsa_mgf *mgf_data);
828 mgf_data.seed.data = maskedDB.data; in do_oaep_decoding()830 mgf_data.mask.data = seed.data; in do_oaep_decoding()831 mgf_data.mask.length = seed.length; in do_oaep_decoding()833 ret = rsa_data->mgf(&mgf_data); in do_oaep_decoding()864 mgf_data.seed.data = seed.data; in do_oaep_decoding()866 mgf_data.mask.data = dbMask.data; in do_oaep_decoding()869 ret = rsa_data->mgf(&mgf_data); in do_oaep_decoding()1061 mgf_data.seed.data = seed.data; in do_oaep_encoding()1063 mgf_data.mask.data = dbMask.data; in do_oaep_encoding()1066 ret = rsa_data->mgf(&mgf_data); in do_oaep_encoding()[all …]
56 TEE_Result (*mgf)(struct drvcrypt_rsa_mgf *mgf_data);73 TEE_Result (*mgf)(struct drvcrypt_rsa_mgf *mgf_data);
Completed in 7 milliseconds