block/crypto: rename two functions