Home
last modified time | relevance | path

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

/optee_os/ta/pkcs11/src/
H A Dprocessing_ec.c487 uint8_t *ecpoint = NULL; in tee2pkcs_ec_attributes() local
533 ecpoint = TEE_Malloc(dersize, TEE_MALLOC_FILL_ZERO); in tee2pkcs_ec_attributes()
534 if (!ecpoint) { in tee2pkcs_ec_attributes()
541 ecpoint[0] = 0x04; in tee2pkcs_ec_attributes()
542 ecpoint[1] = qsize & 0x7f; in tee2pkcs_ec_attributes()
545 ecpoint[2] = 0x04; in tee2pkcs_ec_attributes()
548 ecpoint[0] = 0x04; in tee2pkcs_ec_attributes()
549 ecpoint[1] = 0x80 | 0x01; /* long form, one size octet */ in tee2pkcs_ec_attributes()
550 ecpoint[2] = qsize & 0xFF; in tee2pkcs_ec_attributes()
553 ecpoint[3] = 0x04; in tee2pkcs_ec_attributes()
[all …]