OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:P256_NBYTES
(Results
1 - 5
of
5
) sorted by null
/system/core/libmincrypt/
dsa_sig.c
35
static inline int trim_to_p256_bytes(unsigned char dst[
P256_NBYTES
], unsigned char *src,
42
if (src_len >
P256_NBYTES
|| src_len < 1) {
45
dst_offset =
P256_NBYTES
- src_len;
64
unsigned char r_bytes[
P256_NBYTES
];
65
unsigned char s_bytes[
P256_NBYTES
];
p256.c
189
memcpy(c, tmp,
P256_NBYTES
);
361
void p256_from_bin(const uint8_t src[
P256_NBYTES
], p256_int* dst) {
/system/core/include/mincrypt/
p256.h
41
#define
P256_NBYTES
32
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);
/bootable/recovery/
verifier.cpp
410
uint8_t x_bytes[
P256_NBYTES
];
411
uint8_t y_bytes[
P256_NBYTES
];
413
if (key_len !=
P256_NBYTES
) {
414
LOGE("Key length (%d) does not match expected size %d\n", key_len,
P256_NBYTES
);
417
x_bytes[
P256_NBYTES
- 1] = byte;
418
for (i =
P256_NBYTES
- 2; i >= 0; --i) {
423
y_bytes[
P256_NBYTES
- 1] = byte;
424
for (i =
P256_NBYTES
- 2; i >= 0; --i) {
/system/core/libmincrypt/test/
ecdsa_test.c
243
P256_NBYTES
); \
247
P256_NBYTES
); \
Completed in 272 milliseconds