Searched refs:ec_state (Results 1 – 2 of 2) sorted by relevance
/external/epid-sdk/epid/common/math/src/ |
D | ecdsa_verify.c | 62 IppsECCPState* ec_state = NULL; in EcdsaVerifyBuffer() local 100 epid_status = NewSecp256r1Curve(&ec_state); in EcdsaVerifyBuffer() 104 epid_status = NewCurvePoint(ec_state, &ecp_pubkey); in EcdsaVerifyBuffer() 106 epid_status = ReadCurvePoint(ec_state, pubkey, ecp_pubkey); in EcdsaVerifyBuffer() 115 ipp_status = ippsECCPCheckPoint(ecp_pubkey, &ec_result, ec_state); in EcdsaVerifyBuffer() 129 ipp_status = ippsECCPSetKeyPair(NULL, ecp_pubkey, ippTrue, ec_state); in EcdsaVerifyBuffer() 134 bn_sig_y->ipp_bn, &ec_result, ec_state); in EcdsaVerifyBuffer() 143 DeleteSecp256r1Curve(&ec_state); in EcdsaVerifyBuffer() 154 IppsECCPState* ec_state = NULL; in NewSecp256r1Curve() local 164 ec_state = (IppsECCPState*)SAFE_ALLOC(size); in NewSecp256r1Curve() [all …]
|
/external/u-boot/drivers/misc/ |
D | cros_ec_sandbox.c | 76 struct ec_state { struct 99 struct ec_state *ec = &s_state; in cros_ec_read_state() argument 139 struct ec_state *ec = g_state; in cros_ec_write_state() 164 static int get_image_used(struct ec_state *ec, struct fmap_entry *entry) in get_image_used() 191 static int keyscan_read_fdt_matrix(struct ec_state *ec, ofnode node) in keyscan_read_fdt_matrix() 240 static int cros_ec_keyscan(struct ec_state *ec, uint8_t *scan) in cros_ec_keyscan() 282 static int process_cmd(struct ec_state *ec, in process_cmd() 471 struct ec_state *ec = dev_get_priv(dev->dev); in cros_ec_sandbox_packet() 496 struct ec_state *ec = dev_get_priv(dev->dev); in cros_ec_check_keyboard() 512 struct ec_state *ec = dev->priv; in cros_ec_probe() [all …]
|