HomeSort by relevance Sort by last modified time
    Searched refs:p256_int (Results 1 - 8 of 8) sorted by null

  /external/libconstrainedcrypto/include/constrainedcrypto/
p256_ecdsa.h 42 // Note: message is a p256_int.
44 int p256_ecdsa_verify(const p256_int* key_x,
45 const p256_int* key_y,
46 const p256_int* message,
47 const p256_int* r, const p256_int* s);
p256.h 49 // Defining p256_int as struct to leverage struct assigment.
52 } p256_int; typedef in typeref:struct:__anon24464
54 extern const p256_int SECP256r1_n; // Curve order
55 extern const p256_int SECP256r1_p; // Curve prime
56 extern const p256_int SECP256r1_b; // Curve param
58 // Initialize a p256_int to zero.
59 void p256_init(p256_int* a);
61 // Clear a p256_int to zero.
62 void p256_clear(p256_int* a);
65 int p256_get_bit(const p256_int* a, int index)
    [all...]
dsa_sig.h 37 int dsa_sig_unpack(unsigned char* sig, int sig_len, p256_int* r_int, p256_int* s_int);
  /external/libconstrainedcrypto/
p256_ecdsa.c 32 int p256_ecdsa_verify(const p256_int* key_x, const p256_int* key_y,
33 const p256_int* message,
34 const p256_int* r, const p256_int* s) {
35 p256_int u, v;
p256.c 42 const p256_int SECP256r1_n = // curve order
45 const p256_int SECP256r1_p = // curve field size
48 const p256_int SECP256r1_b = // curve b
52 void p256_init(p256_int* a) {
56 void p256_clear(p256_int* a) { p256_init(a); }
58 int p256_get_bit(const p256_int* scalar, int bit) {
63 int p256_is_zero(const p256_int* a) {
71 static p256_digit mulAdd(const p256_int* a,
110 static p256_digit subM(const p256_int* MOD,
127 static p256_digit addM(const p256_int* MOD
    [all...]
dsa_sig.c 54 int dsa_sig_unpack(unsigned char* sig, int sig_len, p256_int* r_int, p256_int* s_int) {
p256_ec.c     [all...]
  /external/libconstrainedcrypto/test/
ecdsa_test.c 52 p256_int key_x = {
56 p256_int key_y = {
138 p256_int good_dsa_signature_1_r = {
142 p256_int good_dsa_signature_1_s = {
227 p256_int hash;
228 p256_int r;
229 p256_int s;

Completed in 77 milliseconds