Home
last modified time | relevance | path

Searched defs:ctx (Results 1 – 23 of 23) sorted by relevance

/lib/kunit/
A Dkunit-test.c27 struct kunit_try_catch_test_context *ctx = test->priv; in kunit_test_successful_try() local
41 struct kunit_try_catch_test_context *ctx = test->priv; in kunit_test_try_catch_successful_try_no_catch() local
57 struct kunit_try_catch_test_context *ctx = test->priv; in kunit_test_unsuccessful_try() local
89 struct kunit_try_catch_test_context *ctx; in kunit_try_catch_test_init() local
171 struct kunit_test_resource_context *ctx = context; in fake_resource_init() local
408 struct kunit_test_resource_context ctx; in kunit_resource_test_static() local
424 struct kunit_test_resource_context ctx; in kunit_resource_test_named() local
457 static void increment_int(void *ctx) in increment_int()
507 static void action_order_1(void *ctx) in action_order_1()
514 static void action_order_2(void *ctx) in action_order_2()
[all …]
A Dresource.c84 void *ctx; member
95 int kunit_add_action(struct kunit *test, void (*action)(void *), void *ctx) in kunit_add_action() argument
117 void *ctx) in kunit_add_action_or_reset()
143 void *ctx) in kunit_remove_action()
163 void *ctx) in kunit_release_action()
A Dstatic_stub.c31 struct kunit_static_stub_ctx *ctx = res->data; in __kunit_static_stub_resource_match() local
44 struct kunit_static_stub_ctx *ctx; in __kunit_get_static_stub_address_impl() local
91 struct kunit_static_stub_ctx *ctx; in __kunit_activate_static_stub() local
A Dplatform-test.c137 struct kunit_platform_driver_test_context *ctx; in kunit_platform_driver_probe() local
149 struct kunit_platform_driver_test_context *ctx; in kunit_platform_driver_register_test() local
178 struct kunit_platform_driver_test_context *ctx; in kunit_platform_device_prepare_wait_for_probe_completes_when_already_probed() local
A Dtest.c472 struct kunit_try_catch_context *ctx = data; in kunit_try_run_case() local
489 struct kunit_try_catch_context *ctx = data; in kunit_try_run_case_cleanup() local
500 struct kunit_try_catch_context *ctx = data; in kunit_catch_run_case_cleanup() local
531 struct kunit_try_catch_context *ctx = data; in kunit_catch_run_case() local
/lib/crypto/
A Dsha256.c157 static void __sha256_init(struct __sha256_ctx *ctx, in __sha256_init()
165 void sha224_init(struct sha224_ctx *ctx) in sha224_init()
171 void sha256_init(struct sha256_ctx *ctx) in sha256_init()
210 static void __sha256_final(struct __sha256_ctx *ctx, in __sha256_final()
246 struct sha224_ctx ctx; in sha224() local
256 struct sha256_ctx ctx; in sha256() local
360 void hmac_sha224_final(struct hmac_sha224_ctx *ctx, in hmac_sha224_final()
377 struct hmac_sha224_ctx ctx; in hmac_sha224() local
388 struct hmac_sha256_ctx ctx; in hmac_sha256() local
400 struct hmac_sha224_ctx ctx; in hmac_sha224_usingrawkey() local
[all …]
A Dsha512.c141 static void __sha512_init(struct __sha512_ctx *ctx, in __sha512_init()
150 void sha384_init(struct sha384_ctx *ctx) in sha384_init()
156 void sha512_init(struct sha512_ctx *ctx) in sha512_init()
196 static void __sha512_final(struct __sha512_ctx *ctx, in __sha512_final()
234 struct sha384_ctx ctx; in sha384() local
244 struct sha512_ctx ctx; in sha512() local
348 void hmac_sha384_final(struct hmac_sha384_ctx *ctx, in hmac_sha384_final()
365 struct hmac_sha384_ctx ctx; in hmac_sha384() local
376 struct hmac_sha512_ctx ctx; in hmac_sha512() local
388 struct hmac_sha384_ctx ctx; in hmac_sha384_usingrawkey() local
[all …]
A Daescfb.c14 static void aescfb_encrypt_block(const struct crypto_aes_ctx *ctx, void *dst, in aescfb_encrypt_block()
41 void aescfb_encrypt(const struct crypto_aes_ctx *ctx, u8 *dst, const u8 *src, in aescfb_encrypt()
70 void aescfb_decrypt(const struct crypto_aes_ctx *ctx, u8 *dst, const u8 *src, in aescfb_decrypt()
217 struct crypto_aes_ctx ctx; in libaescfb_init() local
A Dsha1.c162 void sha1_init(struct sha1_ctx *ctx) in sha1_init()
169 void sha1_update(struct sha1_ctx *ctx, const u8 *data, size_t len) in sha1_update()
202 static void __sha1_final(struct sha1_ctx *ctx, u8 out[SHA1_DIGEST_SIZE]) in __sha1_final()
221 void sha1_final(struct sha1_ctx *ctx, u8 out[SHA1_DIGEST_SIZE]) in sha1_final()
230 struct sha1_ctx ctx; in sha1() local
274 void hmac_sha1_init(struct hmac_sha1_ctx *ctx, const struct hmac_sha1_key *key) in hmac_sha1_init()
282 void hmac_sha1_init_usingrawkey(struct hmac_sha1_ctx *ctx, in hmac_sha1_init_usingrawkey()
291 void hmac_sha1_final(struct hmac_sha1_ctx *ctx, u8 out[SHA1_DIGEST_SIZE]) in hmac_sha1_final()
313 struct hmac_sha1_ctx ctx; in hmac_sha1() local
325 struct hmac_sha1_ctx ctx; in hmac_sha1_usingrawkey() local
A Daesgcm.c15 static void aesgcm_encrypt_block(const struct crypto_aes_ctx *ctx, void *dst, in aesgcm_encrypt_block()
45 int aesgcm_expandkey(struct aesgcm_ctx *ctx, const u8 *key, in aesgcm_expandkey()
88 static void aesgcm_mac(const struct aesgcm_ctx *ctx, const u8 *src, int src_len, in aesgcm_mac()
107 static void aesgcm_crypt(const struct aesgcm_ctx *ctx, u8 *dst, const u8 *src, in aesgcm_crypt()
147 void aesgcm_encrypt(const struct aesgcm_ctx *ctx, u8 *dst, const u8 *src, in aesgcm_encrypt()
177 bool __must_check aesgcm_decrypt(const struct aesgcm_ctx *ctx, u8 *dst, in aesgcm_decrypt()
698 struct aesgcm_ctx ctx; in libaesgcm_init() local
A Darc4.c14 int arc4_setkey(struct arc4_ctx *ctx, const u8 *in_key, unsigned int key_len) in arc4_setkey()
38 void arc4_crypt(struct arc4_ctx *ctx, u8 *out, const u8 *in, unsigned int len) in arc4_crypt()
A Daes.c186 int aes_expandkey(struct crypto_aes_ctx *ctx, const u8 *in_key, in aes_expandkey()
259 void aes_encrypt(const struct crypto_aes_ctx *ctx, u8 *out, const u8 *in) in aes_encrypt()
310 void aes_decrypt(const struct crypto_aes_ctx *ctx, u8 *out, const u8 *in) in aes_decrypt()
A Ddes.c698 int des_expand_key(struct des_ctx *ctx, const u8 *key, unsigned int keylen) in des_expand_key()
780 void des_encrypt(const struct des_ctx *ctx, u8 *dst, const u8 *src) in des_encrypt()
801 void des_decrypt(const struct des_ctx *ctx, u8 *dst, const u8 *src) in des_decrypt()
822 int des3_ede_expand_key(struct des3_ede_ctx *ctx, const u8 *key, in des3_ede_expand_key()
/lib/crypto/x86/
A Dpoly1305_glue.c38 static void convert_to_base2_64(void *ctx) in convert_to_base2_64()
94 struct poly1305_arch_internal *ctx = in poly1305_blocks_arch() local
134 void poly1305_emit_arch(const struct poly1305_state *ctx, in poly1305_emit_arch()
/lib/crypto/tests/
A Dhash-test-template.h132 struct HASH_CTX ctx; in test_hash_all_lens_up_to_4096() local
154 struct HASH_CTX ctx; in test_hash_incremental_updates() local
210 struct HASH_CTX ctx; in test_hash_buffer_overruns() local
239 struct HASH_CTX ctx; in test_hash_overlaps() local
312 struct HASH_CTX ctx; in test_hash_ctx_zeroization() local
492 struct hash_irq_test2_hash_ctx *ctx; in hash_irq_test2_func() local
606 struct HMAC_CTX ctx; in test_hmac() local
A Dpoly1305_kunit.c19 struct poly1305_desc_ctx ctx; in poly1305() local
26 static void poly1305_init_withtestkey(struct poly1305_desc_ctx *ctx) in poly1305_init_withtestkey()
/lib/crypto/mpi/
A Dmpih-mul.c324 struct karatsuba_ctx *ctx) in mpihelp_mul_karatsuba_case()
393 void mpihelp_release_karatsuba_ctx(struct karatsuba_ctx *ctx) in mpihelp_release_karatsuba_ctx()
432 struct karatsuba_ctx ctx; in mpihelp_mul() local
/lib/tests/
A Dutil_macros_kunit.c20 static void test_find_closest(struct kunit *ctx) in test_find_closest()
128 static void test_find_closest_descending(struct kunit *ctx) in test_find_closest_descending()
/lib/math/tests/
A Dprime_numbers_kunit.c9 static void dump_primes(void *ctx, const struct primes *p) in dump_primes()
/lib/math/
A Dprime_numbers.c65 void with_primes(void *ctx, primes_fn fn) in with_primes()
/lib/lz4/
A Dlz4hc_compress.c338 LZ4HC_CCtx_internal *const ctx, in LZ4HC_compress_generic()
588 LZ4HC_CCtx_internal *ctx = &((LZ4_streamHC_t *)state)->internal_donotuse; in LZ4_compress_HC_extStateHC() local
A Dlz4_compress.c465 LZ4_stream_t_internal *ctx = &((LZ4_stream_t *)state)->internal_donotuse; in LZ4_compress_fast_extState() local
522 LZ4_stream_t_internal * const ctx, in LZ4_compress_destSize_generic()
/lib/zstd/compress/
A Dzstd_compress.c213 const SeqStore_t* ZSTD_getSeqStore(const ZSTD_CCtx* ctx) { return &(ctx->seqStore); } in ZSTD_getSeqStore()

Completed in 49 milliseconds