Searched refs:P256_NBYTES (Results 1 – 4 of 4) sorted by relevance
35 static inline int trim_to_p256_bytes(unsigned char dst[P256_NBYTES], unsigned char *src, in trim_to_p256_bytes() argument42 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()
189 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
41 #define P256_NBYTES 32 macro146 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);
243 P256_NBYTES); \ in main()247 P256_NBYTES); \ in main()