Measurements of key-encapsulation mechanisms