Home
last modified time | relevance | path

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

/optee_os/core/lib/libtomcrypt/src/misc/pbes/
H A Dpbes2.c81 ltc_asn1_list *lkdf, *lenc, *loptseq, *liter, *lhmac; in pbes2_extract() local
116 lenc = s->next->child->next->child; in pbes2_extract()
143 if ((err = s_pbes2_from_oid(lenc, lhmac, &res->type)) != CRYPT_OK) return err; in pbes2_extract()
145 if (LTC_ASN1_IS_TYPE(lenc->next, LTC_ASN1_OCTET_STRING)) { in pbes2_extract()
147 res->iv = lenc->next; in pbes2_extract()
148 } else if (LTC_ASN1_IS_TYPE(lenc->next, LTC_ASN1_SEQUENCE)) { in pbes2_extract()
155 if (LTC_ASN1_IS_TYPE(lenc->next->child, LTC_ASN1_INTEGER) && in pbes2_extract()
156 LTC_ASN1_IS_TYPE(lenc->next->child->next, LTC_ASN1_OCTET_STRING)) { in pbes2_extract()
157 klen = mp_get_int(lenc->next->child->data); in pbes2_extract()
158 res->iv = lenc->next->child->next; in pbes2_extract()
[all …]