Home
last modified time | relevance | path

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

/external/rust/crates/ring/crypto/fipsmodule/aes/
Daes_nohw.c349 GFp_memcpy(out, in, 16); in aes_nohw_compact_block()
377 GFp_memcpy(out, in, 16); // No conversions needed. in aes_nohw_uncompact_block()
385 GFp_memcpy(out, &b0, 8); in aes_nohw_uncompact_block()
386 GFp_memcpy(out + 8, &b1, 8); in aes_nohw_uncompact_block()
407 GFp_memcpy(out, &b0, 4); in aes_nohw_uncompact_block()
408 GFp_memcpy(out + 4, &b1, 4); in aes_nohw_uncompact_block()
409 GFp_memcpy(out + 8, &b2, 4); in aes_nohw_uncompact_block()
410 GFp_memcpy(out + 12, &b3, 4); in aes_nohw_uncompact_block()
773 GFp_memcpy(tmp, key->rd_key + 4 * i, 16); in aes_nohw_expand_round_keys()
810 GFp_memcpy(key->rd_key, block, 16); in aes_nohw_setup_key_128()
[all …]
/external/rust/crates/ring/crypto/poly1305/
Dpoly1305_arm.c107 static void store32(uint8_t out[4], uint32_t v) { GFp_memcpy(out, &v, 4); } in store32()
113 GFp_memcpy(&tmp, t, sizeof(tmp)); in load32()
210 GFp_memcpy(st->key, key + 16, 16); in GFp_poly1305_init_neon()
Dpoly1305.c35 GFp_memcpy(&r, m, sizeof(r)); in U8TO32_LE()
40 GFp_memcpy(m, &v, sizeof(v)); in U32TO8_LE()
196 GFp_memcpy(state->key, key + 16, sizeof(state->key)); in GFp_poly1305_init()
Dpoly1305_vec.c36 GFp_memcpy(&ret, in, 4); in load_u32_le()
42 GFp_memcpy(&ret, in, 8); in load_u64_le()
47 GFp_memcpy(out, &v, 8); in store_u64_le()
698 GFp_memcpy(st->buffer + st->leftover, m, want); in GFp_poly1305_update()
714 GFp_memcpy(st->buffer + st->leftover, m, want); in GFp_poly1305_update()
734 GFp_memcpy(st->buffer + st->leftover, m, bytes); in GFp_poly1305_update()
/external/rust/crates/ring/crypto/
Dinternal.h266 static inline void *GFp_memcpy(void *dst, const void *src, size_t n) { in GFp_memcpy() function
/external/rust/crates/ring/crypto/curve25519/
Dcurve25519.c162 GFp_memcpy(s_copy, s, 32); in fe_frombytes()
1785 GFp_memcpy(e, scalar_masked, 32); in GFp_x25519_scalar_mult_generic_masked()
1859 GFp_memcpy(e, private_key_masked, 32); in GFp_x25519_public_from_private_generic_masked()