Home
last modified time | relevance | path

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

/system/core/libmincrypt/
Ddsa_sig.c35 static inline int trim_to_p256_bytes(unsigned char dst[P256_NBYTES], unsigned char *src, in trim_to_p256_bytes() argument
42 if (src_len > P256_NBYTES || src_len < 1) { in trim_to_p256_bytes()
45 dst_offset = P256_NBYTES - src_len; in trim_to_p256_bytes()
64 unsigned char r_bytes[P256_NBYTES]; in dsa_sig_unpack()
65 unsigned char s_bytes[P256_NBYTES]; in dsa_sig_unpack()
Dp256.c189 memcpy(c, tmp, P256_NBYTES); in p256_modmul()
361 void p256_from_bin(const uint8_t src[P256_NBYTES], p256_int* dst) { in p256_from_bin() argument
/system/core/include/mincrypt/
Dp256.h41 #define P256_NBYTES 32 macro
146 void p256_to_bin(const p256_int* src, uint8_t dst[P256_NBYTES]);
150 void p256_from_bin(const uint8_t src[P256_NBYTES], p256_int* dst);
/system/core/libmincrypt/test/
Decdsa_test.c243 P256_NBYTES); \ in main()
247 P256_NBYTES); \ in main()