Home
last modified time | relevance | path

Searched refs:RECOVERY_KEY_MODHEX_RAW_LENGTH (Results 1 – 2 of 2) sorted by relevance

/systemd-251/src/basic/
Drecovery-key.c30 RECOVERY_KEY_MODHEX_RAW_LENGTH*2, /* syntax without dashes */ in normalize_recovery_key()
38 for (size_t i = 0, j = 0; i < RECOVERY_KEY_MODHEX_RAW_LENGTH; i++) { in normalize_recovery_key()
42 if (l == RECOVERY_KEY_MODHEX_RAW_LENGTH*2) in normalize_recovery_key()
82 key = new(uint8_t, RECOVERY_KEY_MODHEX_RAW_LENGTH); in make_recovery_key()
86 r = genuine_random_bytes(key, RECOVERY_KEY_MODHEX_RAW_LENGTH, RANDOM_BLOCK); in make_recovery_key()
95 for (size_t i = 0; i < RECOVERY_KEY_MODHEX_RAW_LENGTH; i++) { in make_recovery_key()
Drecovery-key.h5 #define RECOVERY_KEY_MODHEX_RAW_LENGTH 32 macro
8 #define RECOVERY_KEY_MODHEX_FORMATTED_LENGTH (RECOVERY_KEY_MODHEX_RAW_LENGTH*2/8*9)