Home
last modified time | relevance | path

Searched refs:sig_algorithm (Results 1 – 6 of 6) sorted by relevance

/external/vboot_reference/firmware/lib/cryptolib/
Dsha_utility.c14 void DigestInit(DigestContext* ctx, int sig_algorithm) { in DigestInit() argument
15 ctx->algorithm = hash_type_map[sig_algorithm]; in DigestInit()
80 uint8_t* DigestBuf(const uint8_t* buf, uint64_t len, int sig_algorithm) { in DigestBuf() argument
117 return hash[sig_algorithm](buf, len, digest); in DigestBuf()
/external/vboot_reference/firmware/lib/cryptolib/include/
Dsha.h109 void DigestInit(DigestContext* ctx, int sig_algorithm);
119 uint8_t* DigestFile(char* input_file, int sig_algorithm);
125 uint8_t* DigestBuf(const uint8_t* buf, uint64_t len, int sig_algorithm);
/external/vboot_reference/host/lib/
Dfile_keys.c62 uint8_t* DigestFile(char* input_file, int sig_algorithm) { in DigestFile() argument
72 DigestInit(&ctx, sig_algorithm); in DigestFile()
/external/vboot_reference/host/lib/include/
Dfile_keys.h32 uint8_t* DigestFile(char* input_file, int sig_algorithm);
/external/vboot_reference/tests/
Drsa_utility_tests.c24 uint8_t* DigestBuf(const uint8_t* buf, uint64_t len, int sig_algorithm) { in DigestBuf() argument
Dvboot_firmware_tests.c147 void DigestInit(DigestContext* ctx, int sig_algorithm) { in DigestInit() argument