Home
last modified time | relevance | path

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

/crypto/
Ddh.c36 static int _compute_val(const struct dh_ctx *ctx, MPI base, MPI val) in _compute_val() argument
39 return mpi_powm(val, base, ctx->xa, ctx->p); in _compute_val()
129 MPI val, q; in dh_is_pubkey_valid() local
132 val = mpi_alloc(0); in dh_is_pubkey_valid()
133 if (!val) in dh_is_pubkey_valid()
138 mpi_free(val); in dh_is_pubkey_valid()
148 ret = mpi_powm(val, y, q, ctx->p); in dh_is_pubkey_valid()
151 mpi_free(val); in dh_is_pubkey_valid()
155 ret = mpi_cmp_ui(val, 1); in dh_is_pubkey_valid()
157 mpi_free(val); in dh_is_pubkey_valid()
[all …]
Dinternal.h127 int crypto_probing_notify(unsigned long val, void *v);
171 static inline void crypto_notify(unsigned long val, void *v) in crypto_notify() argument
173 blocking_notifier_call_chain(&crypto_chain, val, v); in crypto_notify()
Dmichael_mic.c28 static inline u32 xswap(u32 val) in xswap() argument
30 return ((val & 0x00ff00ff) << 8) | ((val & 0xff00ff00) >> 8); in xswap()
Daegis128-neon-inner.c184 uint8x16_t val; in vqtbl1q_u8() member
195 uint8x16_t val; in vqtbx1q_u8() member
Dapi.c301 int crypto_probing_notify(unsigned long val, void *v) in crypto_probing_notify() argument
305 ok = blocking_notifier_call_chain(&crypto_chain, val, v); in crypto_probing_notify()
308 ok = blocking_notifier_call_chain(&crypto_chain, val, v); in crypto_probing_notify()
Dtestmgr.c3720 __le32 val; in alg_test_crc32c() local
3750 err = crypto_shash_final(shash, (u8 *)&val); in alg_test_crc32c()
3757 if (val != cpu_to_le32(~420553207)) { in alg_test_crc32c()
3759 driver, le32_to_cpu(val)); in alg_test_crc32c()
4061 static u8 *test_pack_u32(u8 *dst, u32 val) in test_pack_u32() argument
4063 memcpy(dst, &val, sizeof(val)); in test_pack_u32()
4064 return dst + sizeof(val); in test_pack_u32()
Ddrbg.c284 static inline void drbg_cpu_to_be32(__u32 val, unsigned char *buf) in drbg_cpu_to_be32() argument
291 conversion->conv = cpu_to_be32(val); in drbg_cpu_to_be32()
/crypto/asymmetric_keys/
Dpublic_key.c142 static u8 *pkey_pack_u32(u8 *dst, u32 val) in pkey_pack_u32() argument
144 memcpy(dst, &val, sizeof(val)); in pkey_pack_u32()
145 return dst + sizeof(val); in pkey_pack_u32()