8 lines
220 B
C
8 lines
220 B
C
|
|
#include "amduat/hash/asl1.h"
|
||
|
|
|
||
|
|
amduat_octets_t amduat_hash_asl1_key(amduat_hash_id_t hash_id, uint8_t out[2]) {
|
||
|
|
out[0] = (uint8_t)(hash_id >> 8);
|
||
|
|
out[1] = (uint8_t)(hash_id & 0xff);
|
||
|
|
return amduat_octets(out, 2);
|
||
|
|
}
|