Home
last modified time | relevance | path

Searched refs:context (Results 1 – 25 of 95) sorted by relevance

1234

/lib/efi_selftest/
A Defi_selftest_register_notify.c22 struct context { struct
37 static struct context context; argument
49 struct context *cp = context; in notify()
137 if (!context.notify_count) { in execute()
141 if (context.notify_count > 1) { in execute()
166 context.notify_count = 0; in execute()
174 if (context.notify_count) { in execute()
178 context.notify_count = 0; in execute()
185 if (!context.notify_count) { in execute()
214 context.notify_count = 0; in execute()
[all …]
A Defi_selftest_exitbootservices.c37 struct notification_context context = { variable
48 static void EFIAPI ebs_notify(struct efi_event *event, void *context) in ebs_notify() argument
50 struct notification_context *ctx = context; in ebs_notify()
77 &context, in setup()
A Defi_selftest_event_groups.c28 static void EFIAPI notify(struct efi_event *event, void *context) in notify() argument
30 unsigned int *count = context; in notify()
/lib/crypto/
A Drsa_helper.c24 int rsa_get_n(void *context, size_t hdrlen, unsigned char tag, in rsa_get_n() argument
27 struct rsa_key *key = context; in rsa_get_n()
58 int rsa_get_e(void *context, size_t hdrlen, unsigned char tag, in rsa_get_e() argument
61 struct rsa_key *key = context; in rsa_get_e()
73 int rsa_get_d(void *context, size_t hdrlen, unsigned char tag, in rsa_get_d() argument
76 struct rsa_key *key = context; in rsa_get_d()
91 struct rsa_key *key = context; in rsa_get_p()
106 struct rsa_key *key = context; in rsa_get_q()
121 struct rsa_key *key = context; in rsa_get_dp()
136 struct rsa_key *key = context; in rsa_get_dq()
[all …]
A Dpkcs7_parser.c193 struct pkcs7_parse_context *ctx = context; in pkcs7_note_OID()
212 struct pkcs7_parse_context *ctx = context; in pkcs7_sig_note_digest_algo()
250 struct pkcs7_parse_context *ctx = context; in pkcs7_sig_note_pkey_algo()
271 struct pkcs7_parse_context *ctx = context; in pkcs7_check_content_type()
288 struct pkcs7_parse_context *ctx = context; in pkcs7_note_signeddata_version()
322 struct pkcs7_parse_context *ctx = context; in pkcs7_note_signerinfo_version()
365 struct pkcs7_parse_context *ctx = context; in pkcs7_extract_cert()
405 struct pkcs7_parse_context *ctx = context; in pkcs7_note_certificate_list()
423 struct pkcs7_parse_context *ctx = context; in pkcs7_note_content()
443 struct pkcs7_parse_context *ctx = context; in pkcs7_note_data()
[all …]
A Dx509_cert_parser.c171 struct x509_parse_context *ctx = context; in x509_note_OID()
191 struct x509_parse_context *ctx = context; in x509_note_tbs_certificate()
208 struct x509_parse_context *ctx = context; in x509_note_pkey_algo()
270 struct x509_parse_context *ctx = context; in x509_note_signature()
302 struct x509_parse_context *ctx = context; in x509_note_serial()
315 struct x509_parse_context *ctx = context; in x509_extract_name_segment()
419 struct x509_parse_context *ctx = context; in x509_note_issuer()
429 struct x509_parse_context *ctx = context; in x509_note_subject()
442 struct x509_parse_context *ctx = context; in x509_note_params()
463 struct x509_parse_context *ctx = context; in x509_extract_key_data()
[all …]
A Dmscode_parser.c42 int mscode_note_content_type(void *context, size_t hdrlen, in mscode_note_content_type() argument
74 int mscode_note_digest_algo(void *context, size_t hdrlen, in mscode_note_digest_algo() argument
78 struct pefile_context *ctx = context; in mscode_note_digest_algo()
122 int mscode_note_digest(void *context, size_t hdrlen, in mscode_note_digest() argument
126 struct pefile_context *ctx = context; in mscode_note_digest()
/lib/lwip/lwip/src/include/netif/ppp/
A Dpppcrypt.h58 #define lwip_md4_init(context) argument
62 #define lwip_md4_free(context) argument
66 #define lwip_md5_init(context) argument
70 #define lwip_md5_free(context) argument
74 #define lwip_sha1_init(context) argument
78 #define lwip_sha1_free(context) argument
82 #define lwip_des_init(context) argument
85 #define lwip_des_free(context) argument
89 #define lwip_arc4_init(context) argument
92 #define lwip_arc4_free(context) argument
[all …]
/lib/mbedtls/
A Dmd5.c35 MD5Context context; in md5_wd() local
37 MD5Init(&context); in md5_wd()
48 MD5Update(&context, curr, chunk); in md5_wd()
53 MD5Update(&context, input, len); in md5_wd()
56 MD5Final(output, &context); in md5_wd()
/lib/mbedtls/external/mbedtls/tests/data_files/
A Dtls13_early_data.txt1 EarlyData context: line 0 lf
2 EarlyData context: line 1 lf
3 EarlyData context: line 2 lf
4 EarlyData context: If it appears, that means early_data received.
/lib/lwip/lwip/contrib/apps/LwipMibCompiler/SharpSnmpLib/Mib/
A DMibException.cs61 private MibException(SerializationInfo info, StreamingContext context) : base(info, context) in MibException() argument
77 public override void GetObjectData(SerializationInfo info, StreamingContext context) in GetObjectData() argument
79 base.GetObjectData(info, context); in GetObjectData()
/lib/mbedtls/external/mbedtls/library/
A Dpsa_crypto_se.c49 psa_drv_se_context_t context; member
84 return &driver->u.context; in psa_get_se_driver_context()
96 *p_drv_context = (driver ? &driver->u.context : NULL); in psa_get_se_driver()
210 status = p_validate_slot_number(&driver->u.context, in psa_find_se_slot_for_key()
226 status = p_allocate(&driver->u.context, in psa_find_se_slot_for_key()
252 &driver->u.context, in psa_destroy_se_key()
270 &driver->u.context, in psa_init_all_se_drivers()
/lib/lwip/lwip/contrib/addons/netconn/external_resolve/
A Ddnssd.c81 const struct sockaddr* address, u32_t ttl, void* context);
141 const struct sockaddr* address, u32_t ttl, void* context) in addr_info_callback() argument
143 struct addr_clbk_msg* msg = (struct addr_clbk_msg*)context; in addr_info_callback()
151 LWIP_UNUSED_ARG(context); in addr_info_callback()
/lib/mbedtls/external/mbedtls/docs/architecture/
A Dalternative-implementations.md38 * Create a header file `xxx_alt.h` that defines the context type(s) used by the module. For example…
43 ### Constraints on context types
45context types to any C type except incomplete and array types (although they would normally be `st…
47 Where a context type needs to have a certain field, the field must have the same type and semantics…
54context object in memory (except during the execution of a library function that takes this contex…
64 In practice, this means that a pointer to a context or to a part of a context does not remain valid…
78 … you must use the same layout for context objects as the built-in implementation. If you want to u…
/lib/mbedtls/external/mbedtls/tests/suites/
A Dtest_suite_psa_crypto_se_driver_hal.function131 psa_drv_se_context_t *context,
137 (void) context;
183 (void) context;
203 (void) context;
222 (void) context;
271 (void) context;
354 (void) context;
375 (void) context;
434 (void) context;
458 (void) context;
[all …]
A Dtest_suite_psa_crypto_se_driver_hal_mocks.function165 psa_status_t mock_export(psa_drv_se_context_t *context,
171 (void) context;
182 psa_status_t mock_export_public(psa_drv_se_context_t *context,
188 (void) context;
199 psa_status_t mock_sign(psa_drv_se_context_t *context,
208 (void) context;
222 psa_status_t mock_verify(psa_drv_se_context_t *context,
230 (void) context;
261 psa_status_t mock_destroy(psa_drv_se_context_t *context,
265 (void) context;
A Dtest_suite_pk.function1459 /* init pk-rsa context */
1477 /* init pk-rsa context */
1536 /* init pk-rsa context */
1601 /* init pk-rsa context */
1622 /* Turn PK context into an opaque one. */
1736 * corresponding rsa context.
1762 /* Extract key to the raw rsa context */
1765 /* Initialize PK RSA_ALT context */
1848 * - create an RSA/EC opaque context;
1852 * - verify with non-opaque context.
[all …]
/lib/mbedtls/external/mbedtls/tests/src/
A Dfake_external_rng_for_test.c30 mbedtls_psa_external_random_context_t *context, in mbedtls_psa_external_get_random() argument
33 (void) context; in mbedtls_psa_external_get_random()
/lib/rsa/
A Drsa-sign.c390 EVP_MD_CTX *context; in rsa_sign_with_key() local
405 context = EVP_MD_CTX_new(); in rsa_sign_with_key()
406 if (!context) { in rsa_sign_with_key()
417 if (EVP_DigestSignInit(context, &ckey, in rsa_sign_with_key()
443 if (!EVP_DigestSignUpdate(context, region[i].data, in rsa_sign_with_key()
450 if (!EVP_DigestSignFinal(context, sig, &size)) { in rsa_sign_with_key()
455 EVP_MD_CTX_free(context); in rsa_sign_with_key()
464 EVP_MD_CTX_free(context); in rsa_sign_with_key()
/lib/efi_loader/
A Defi_watchdog.c26 void *context) in efi_watchdog_timer_notify() argument
28 EFI_ENTRY("%p, %p", event, context); in efi_watchdog_timer_notify()
/lib/
A Dmd5.c274 MD5Context context; in md5_wd() local
281 MD5Init(&context); in md5_wd()
291 MD5Update(&context, curr, chunk); in md5_wd()
296 MD5Update(&context, input, len); in md5_wd()
299 MD5Final(output, &context); in md5_wd()
A Dasn1_decoder.c176 void *context, in asn1_ber_decoder() argument
354 ret = actions[act](context, hdr, tag, data + dp, len); in asn1_ber_decoder()
447 ret = actions[act](context, hdr, 0, data + tdp, len); in asn1_ber_decoder()
462 ret = actions[machine[pc + 1]](context, hdr, tag, data + tdp, len); in asn1_ber_decoder()
/lib/mbedtls/external/mbedtls/docs/
A Dtls13-early-data.md33 where ssl is the SSL context to use, data_to_write the address of the data
35 not be completed, not even started for the SSL context ssl when the function is
73 specifically by the user of write_early_data(). A fresh SSL context (typically
159 context to use:
A Duse-psa-crypto.md73 wrap a PSA key pair into a PK context. The key can be used for private-key
82 with a context set this way, while they would be available with a normal
83 context: `mbedtls_pk_check_pair()`, `mbedtls_pk_debug()`, all public key
86 **Use in X.509 and TLS:** opt-in. The application needs to construct the PK context
88 resulting context to the following existing APIs:
124 There is a new API function `mbedtls_cipher_setup_psa()` to set up a context
/lib/lwip/lwip/src/netif/
A Dlowpan6_ble.c300 rfc7668_set_context(u8_t idx, const ip6_addr_t *context) in rfc7668_set_context() argument
308 ip6_addr_set(&rfc7668_context[idx], context); in rfc7668_set_context()
312 LWIP_UNUSED_ARG(context); in rfc7668_set_context()

Completed in 51 milliseconds

1234