blob: 364663d22b14c10d34a20539c4dee06f51628b4b (
plain)
1
2
3
4
5
6
7
8
|
#include <stdint.h>
#include "nistz256.h"
void bench_madd(unsigned char* buf) {
P256_POINT* r = (P256_POINT*) buf;
P256_POINT_AFFINE* b = (P256_POINT_AFFINE*) (buf + sizeof(P256_POINT));
ecp_nistz256_point_add_affine(r, r, b);
}
|