Home
last modified time | relevance | path

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

/optee_os/core/lib/libtomcrypt/src/pk/asn1/oid/
A Dpk_oid_cmp.c18 int pk_oid_cmp_with_ulong(const char *o1, const unsigned long *o2, unsigned long o2size) in pk_oid_cmp_with_ulong() argument
24 if (o1 == NULL || o2 == NULL) return CRYPT_ERROR; in pk_oid_cmp_with_ulong()
27 if ((err = pk_oid_num_to_str(o2, o2size, tmp, &i)) != CRYPT_OK) { in pk_oid_cmp_with_ulong()
42 int pk_oid_cmp_with_asn1(const char *o1, const ltc_asn1_list *o2) in pk_oid_cmp_with_asn1() argument
44 if (o1 == NULL || o2 == NULL) return CRYPT_ERROR; in pk_oid_cmp_with_asn1()
46 if (o2->type != LTC_ASN1_OBJECT_IDENTIFIER) return CRYPT_INVALID_ARG; in pk_oid_cmp_with_asn1()
48 return pk_oid_cmp_with_ulong(o1, o2->data, o2->size); in pk_oid_cmp_with_asn1()
/optee_os/core/lib/libtomcrypt/src/stream/sosemanuk/
A Dsosemanuk.c213 #define SKS(S, o0, o1, o2, o3, d0, d1, d2, d3) do { \ in sosemanuk_setup() argument
217 r2 = w ## o2; \ in sosemanuk_setup()
358 #define FSS(zc, S, i0, i1, i2, i3, i4, o0, o1, o2, o3) do { \ in sosemanuk_setiv() argument
361 SERPENT_LT(r ## o0, r ## o1, r ## o2, r ## o3); \ in sosemanuk_setiv()
368 #define FSF(zc, S, i0, i1, i2, i3, i4, o0, o1, o2, o3) do { \ in sosemanuk_setiv() argument
371 SERPENT_LT(r ## o0, r ## o1, r ## o2, r ## o3); \ in sosemanuk_setiv()
372 KA(zc + 4, r ## o0, r ## o1, r ## o2, r ## o3); \ in sosemanuk_setiv()
/optee_os/core/lib/libtomcrypt/src/headers/
A Dtomcrypt_private.h407 int pk_oid_cmp_with_ulong(const char *o1, const unsigned long *o2, unsigned long o2size);
408 int pk_oid_cmp_with_asn1(const char *o1, const ltc_asn1_list *o2);
/optee_os/core/tee/
A Dtee_svc_cryp.c2171 struct tee_obj *o2 = NULL; in syscall_cryp_state_alloc() local
2184 res = tee_obj_get(utc, uref_to_vaddr(key2), &o2); in syscall_cryp_state_alloc()
2187 if (o2->busy) in syscall_cryp_state_alloc()
2189 res = tee_svc_cryp_check_key_type(o2, algo, mode); in syscall_cryp_state_alloc()
2275 if (o2 != NULL) { in syscall_cryp_state_alloc()
2276 o2->busy = true; in syscall_cryp_state_alloc()
2277 cs->key2 = (vaddr_t)o2; in syscall_cryp_state_alloc()

Completed in 12 milliseconds