Blooming Cipher Processors
Abstract
Blooming (Russian Blyuming) was the first Soviet single-chip cipher processor, designed from 1985 by engineers of the KGB’s 8th Main Directorate, the cipher service, with help from the Zelenograd Research Institute of Precision Technology. It implemented the block cipher then called Magma-2, which became the unclassified Soviet encryption standard GOST 28147-89. The first working chips were made in 1987 and the first hundred packaged ones in 1989; they ran at 3 to 4 megahertz and encrypted up to three megabits per second, three times the target. Nobody had planned equipment to use them. The plug-in encryption boards built on them in 1990 were overtaken by the end of the Soviet Union, and in January 1991 the developers left to found a private company whose Krypton encryptors carried the line into post-Soviet Russia.
Magma-2
In the 1970s and 1980s the KGB studied how microelectronics could be used in its special equipment, including cipher equipment for the defence ministry, the government, and its own networks. Its cryptographers developed the block cipher Magma-2, which, according to Yuri Romanets, then head of a department at the Zelenograd institute, was meant to be more ambitious than the American DES: it should protect both state secrets and unclassified information, give long-term security, suit the data formats of computers, and, unusually, need no secrecy of its own. Until then all cipher equipment was classified secret or top secret even without keys loaded, which made it expensive to build and operate. A chip implementing a public algorithm would let cipher equipment be unclassified as long as no keys were inside.
By 1984 encryption equipment for the Unified System mainframes based on Magma-2 was under development. Small computers such as the DVK and the Elektronika-60 were spreading, and large cipher racks were obviously unsuited to mass use. In the 8th Main Directorate the idea arose of a very-large-scale integrated cipher processor.
Building the Chip
The Ministry of the Electronics Industry declined: it had only just mastered its 16-bit 1801 series and saw no capacity for a specialised 32-bit processor. Sergei Petrov of the 8th Main Directorate estimated that the chip would be about as complex as the 1801VM1 microprocessor. The Zelenograd institute refused to take on the whole job but agreed to advise, and gave the KGB engineers its design rules. So the KGB specialists worked out the architecture, circuits, and even the layout themselves. A research project with the code name Blooming began in 1985, in an N-channel technology with three-micron design rules.
The chip had to be as small as possible. Magma-2’s substitution layer used four 8-bit tables, which needed 4 kilobits of memory, too much for the technology; the designers went back to an older version of the algorithm with eight 4-bit tables, and that version became GOST 28147-89. The circuits were based on the cell library of the 1801VM1. Petrov drew the layout of one fragment of about a thousand transistors and brought it to Valery Dshkhunyan, the institute’s head of microprocessor development, who in 1986 put Romanets’s department in charge of supporting the work and producing samples. The first layout was drawn in a graphics editor on a VAX; the Angstrem plant found weak and erroneous places in it, and the first chips did not work, mostly because the logic had been simulated in pieces and failed at the joints between blocks.
The first working Blooming-1 chips came in 1987, and the wafers were handed to the 8th Main Directorate, whose leadership, Romanets writes, was greatly surprised. The chip was a complete microprocessor, with a control unit, a stack, return codes, and loops, and it implemented the standard in full. Specified for at least one megabit per second at 1.5 megahertz, it ran at 3 to 4 megahertz and up to three megabits per second. In 1989, about when GOST 28147-89 appeared, the first 100 packaged chips were assembled, and Angstrem prepared for series production.
No Customer
In a planned economy a chip needed planned equipment to go into, and nobody had designed equipment around Blooming. It suited subscriber encryption, the encryption of individual users’ traffic, which was hardly practised then. To test it in real use, the developers designed the Debyut boards in 1990: Debyut-1 for the DVK personal computer, Debyut-2 for the SM minicomputers, and Debyut-3 for the IBM PC’s ISA bus, each needing only a bus controller, a random-number generator (the one function that did not fit on the chip), and interface logic. By the time the boards worked, the SM series had stopped developing and the DVK had no future, so Debyut-1 and Debyut-2 remained prototypes. Debyut-3 interested potential customers, but there was no money for a proper development, and only about ten were made, mainly for demonstrations. In January 1991 the core group of developers decided to continue on their own, and the family of encryptors they created became the Krypton line.
Dead End: The Unclassified Cipher Chip
Blooming put a public cipher into cheap, unclassified hardware for ordinary computers. Its designers solved the engineering problem with little support from the electronics ministry, but the Soviet planning system had no way to turn a working chip into products, and by the time computers with a place for it were common, the state that had commissioned it was gone. The algorithm outlived the chip: GOST 28147-89 remained the Russian standard block cipher and was later adopted, under the name Magma, into the standard GOST R 34.12-2015 (see The Crypto Wars of the 1990s).
📚 Sources
- Romanets, Yu. V.: “История создания первых отечественных шифропроцессоров «БЛЮМИНГ» и аппаратных шифраторов на их основе”, SoRuCom-2017, Russian Virtual Computer Museum (the KGB’s microelectronics programme, Magma-2 and its aims, classified cipher equipment, Unified System encryptors by 1984, DVK and Elektronika-60, the 8th Main Directorate’s idea, the ministry’s refusal, Petrov’s estimate, the institute’s advisory role, the Blooming project from 1985, three-micron N-channel technology, the 8×4-bit substitution tables and GOST 28147-89, the 1801VM1 cell library, Dshkhunyan and Romanets’s department from 1986, the VAX layout and the failed first chips, working chips in 1987, the surprise in the KGB, the microprocessor structure, 3–4 MHz and three megabits per second, 100 packaged chips in 1989, no customer, the Debyut boards of 1990 and their fate, about ten Debyut-3, the January 1991 decision and Krypton)
- GOST 28147-89, Wikipedia (finding aid: the standard of 1989 and its adoption as Magma in GOST R 34.12-2015)